I'm playing with
switch for 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">