Buy Now
Sign in

Is there a shortcode to show the current page?

innova , June 16 2021, 16:03
I
innova 40
June 16 2021, 16:03 #396699
Hello,
is there a shortcode to show the current page? i.e. the name of the menu option selected by the user.
Thank you.
GreyHead 65
June 17 2021, 21:34 #396710
Hi innova,
This may help - from the "Shortcodes Cheatsheet":
{document:var} - if var is "title" then return the current page title, else if var is "url" then return the current page url
Bob
If you'd like to buy me a coffee or two, thank you very much