andru26
10/8/2017 - 11:59 AM

Get Permalink of pages

Get Permalink of pages

You're talking about Pages right? Not Posts.

Is this what you looking for:

get_permalink( get_page_by_path( 'map' ) )
get_permalink( get_page_by_title( 'Map' ) )
home_url( '/map/' )