Get Post slug with a WordPress function
I’m playing with
switchfor change the presentation of some post (inside the loop, of course). Some posts will have a image; then, I want to know how can I get the Post Slug with a WordPress default funcion for use it beyond the permalink.
Post title: Juan Correa
<img src="images/fichas/Post slug">
- The topic ‘Get Post slug with a WordPress function’ is closed to new replies.