WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] page, subpage and sub-sub-pages (2 posts)

  1. mores
    Member
    Posted 6 years ago #

    oh no, not another pages/subpages post :)

    my problem is: i have a weird navigation-requirement for a client.
    it's a horizontal, 2-level navigation setup, and with the help of this board i have been able to get the thing up and running.

    my problem is, i need a "references" menu-item. and in there my client wishes to see a drop-down box with a list of all clients.
    (immagine a child-page being a dropdown, it's siblings being normal text)

    i then thought i'd post all references in individual posts with a special category assigned. but that causes problems when i select a reference item, it no longer shows up as part of a Page-structure.

    so my idea now is to add subpages for each client my client had.
    but, how do i modify the already-ideal child-pages check thingie from here:
    http://codex.wordpress.org/wp_list_pages#List_subpages_even_if_on_a_subpage
    to list a child, that itself has children, as a dropdown element?

    here's a sketch: http://www.mores.cc/wp-images/structure.jpg

    any ideas would be greatly appreciated.

  2. mores
    Member
    Posted 6 years ago #

    Well I decided to go a different route since nobody was able to help me :)

    I used DragonDesign's Drop-Down Post List Plugin for WordPress to get me a list of Posts of the "Reference" category. I added this to the single.php layout as well as an overview page-template to display the dropdown where i want it to be.

    Final result is visible here.

Topic Closed

This topic has been closed to new replies.

About this Topic