Forums

Function to denote the current page with a class or id (2 posts)

  1. FreeXenon
    Member
    Posted 2 years ago #

    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

  2. FreeXenon
    Member
    Posted 2 years ago #

    Nevermind. I see it. =O

    current_page_item...

    Thanks! =)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags