• Resolved WordyPresser

    (@jeremyduffy)


    I want to make the menus change depending on the postname of the page I’m viewing or the template it has or the parent it belongs to. How do I test any of those things before the loop? My menu is set in the header.

    I could use Javascript and just hide the elements until the loop, but I’d rather not do it that way if I can avoid it.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get post information before loop’ is closed to new replies.