wordpress get url page code example
Example 1: get wordpress page link by id
echo get_page_link($page_id);
Example 2: wordpress get link
<a href="<?php the_permalink(); ?>">
echo get_page_link($page_id);
<a href="<?php the_permalink(); ?>">