WordPress.org

Ready to get started?Download WordPress

Forums

List Pages at Depth
[resolved] Identifying current page (2 posts)

  1. phillbooth
    Member
    Posted 4 years ago #

    Is there any way of adding a bit of code that will insert an additional css tag that can be used to identify the current page so that I can use css to make the current page in the menu a different background color.

    Many thanks

    http://wordpress.org/extend/plugins/list-pages-at-depth/

  2. Ben Huson
    Member
    Plugin Author

    Posted 3 years ago #

    It should output the same 3 classes as the wp_list_pages() function:

    'current_page_item'
    'current_page_ancestor'
    'current_page_parent'

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic