Forums

%postname%, permalinks, and <?php the_title(); ?> (1 post)

  1. djones101
    Member
    Posted 3 years ago #

    Hi,

    I created a custom layout... i am using the <?php the_title(); ?> include to attach to my body id. This allows me to highlight part of my nav for that page.

    How can i call the %postname% in my header file instead of my title... would <?php the_postname(); ?> work? is there a pho snippet like this?

    Thanks

    Dan

Topic Closed

This topic has been closed to new replies.

About this Topic