• freexenon

    (@freexenon)


    I am really, really new WordPress Theming and new to PHP, but I do have a programming background.

    I am looking for a way to get a list of the current pages for global navigation menu, but I want the current the page that is currently being displayed’s menu item to have a special class (or ID) so I can implement a tabbed interface.

    Is that built into a PHP function anywhere?

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter freexenon

    (@freexenon)

    Nevermind. I see it. =O

    current_page_item...

    Thanks! =)

Viewing 1 replies (of 1 total)
  • The topic ‘Function to denote the current page with a class or id’ is closed to new replies.