WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] expanding page tree (2 posts)

  1. joshuagatcke
    Member
    Posted 7 years ago #

    Hello All,

    I would like to make an expandable page (not post or category) tree navigation on our website that has folder icons for any "Page" that has children. I would like the "Pages" that don't have children to have a page icon.

    Here is a visual example:
    http://visua.ca/menu.gif

    I am currently using a plugin called Fold Page List:
    http://www.webspaceworks.com/resources/cat/wp-plugins/30/

    This plugin makes the sub-pages expand when you are on the parent page or child page.

    Is there any way I can modify this plugin to add a class "has_children" to the li item if it has children? Or is there another way I should be going about this?

    Thanks in advance for all your help

  2. joshuagatcke
    Member
    Posted 7 years ago #

    I e-amiled the plugin creator and he added the functionality to the plugin by adding the class "page_folder" to and menu item that has children. Works great.

    This is a great plugin for anyone who manages a fair amount of pages with WP.

Topic Closed

This topic has been closed to new replies.

About this Topic