Home › Forums › Back End › Different Logo for each wordpress page › Reply To: Different Logo for each wordpress page
September 3, 2013 at 5:15 am
#148887
kaffekop
Participant
No, <?php the_slug(); ?>
will spit out the current page slug – i.e my frontpage (default wp 3.6) is called hello-world, the my services page will display my-services :)
Put the_slug();
function in your themes functions.php and add <?php the_slug(); ?>
to the first line in header.php – you should now see the slug-string above the website.