get url page template

if you’re using a page template, then if you want to get the current page URL you could try to use this function:

get_permalink();

or

echo get_permalink();

if you want to print the result

Leave a Comment

tech