Get name of page for template
-
Hey guys, sorry for this noob question, but I currently can’t find anything on this topic. It should be very easy to answer, thanks in advance if someone choses to do so!
Using
<?php the_permalink() ?>
gives me the full link of the page displaying. What do I have to use to get the NAME of the page (meaning the last part of the permalink). I also know how to get the ID, but I need the name itself (not the TITLE). Thanks so much!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get name of page for template’ is closed to new replies.