Is it possible to get a page link from its slug?
Is this what you are looking for: get_permalink( get_page_by_path( ‘map’ ) ) get_permalink( get_page_by_title( ‘Map’ ) ) home_url( ‘/map/’ )
Is this what you are looking for: get_permalink( get_page_by_path( ‘map’ ) ) get_permalink( get_page_by_title( ‘Map’ ) ) home_url( ‘/map/’ )