WordPress.org

Ready to get started?Download WordPress

Forums

Tiered Navigation (13 posts)

  1. kwestin
    Member
    Posted 8 years ago #

    I don't know why I am having such a hard time with this. But I am trying to create a three tiered navigation structure for Pages. I want to have the top level categories appear along the top and then for a specific page I want its children to appear along the side. I have the top level navigation working and can show the second level, but when I click a second level the navigation disappears. Someone must have done something similar to this, but in all of teh templates I ahve not found anything. Any help/links would be much appreciated.

    thank you

  2. kwestin
    Member
    Posted 8 years ago #

    Anybody?

  3. kwestin
    Member
    Posted 8 years ago #

    Does anyone have a link to something similar....maybe a template that does this?

  4. Ptryk
    Member
    Posted 8 years ago #

    did you search the codex?

    there is a page with plugins, then one with specifically navigation, here:
    http://codex.wordpress.org/Plugins/Navigation

    if you did, you would have eventually found wp-pagesnav it is a plugin that I think will do the trick, the website is here:
    http://www.adsworth.info/wp-pagesnav

  5. kwestin
    Member
    Posted 8 years ago #

    Yeah found it about an hour ago, however ran into some issues with it. But it is the closest thing I have found.

  6. moshu
    Member
    Posted 8 years ago #

    There seems to be a plugin mentioned in this thread:
    http://wordpress.org/support/topic/41235?replies=5#post-231726
    I never used it.

  7. Ptryk
    Member
    Posted 8 years ago #

    what kind of trouble have you had? I may be able to offer some advice, I have implmented it a couple of times. In case you missed them, there are some brief instructions in the read me file.

  8. kwestin
    Member
    Posted 8 years ago #

    I think the main issue is not having the menus rendered in the correct markup.

    The first level get rendered in "li" tags as they should however there is no
    "ul" wrapper. The second tier navigation renders as it should in wrapped in ul tags.

    This just caused some issues with my layout as I seemed to have less control of the rendering across browsers without the top level being nested in a "ul" tag.

    Thank you for your help.

  9. niziol
    Member
    Posted 8 years ago #

    I use the Fold Page List plugin and it works quite well. It even adds a additional style attribute for the ancestor (parent page) of the selected child.

    And it does generate the correct mark-up (even valid up to XHTML 1.1), so the proper <ul> tags for the child pages are included.

    Good luck,
    Michael.

  10. kwestin
    Member
    Posted 8 years ago #

    Michael this is great! Thanks

    This should be built into the WP core.

  11. JuryDuty
    Member
    Posted 8 years ago #

    Ptryk, you mentioned in another thread that you had made some changes to the wp-pagesnav to include a home button at the beginning as well as some other tweaks. Would you mind sharing your files? I'd really like that on my site, too. You can send them to cpnm [at] hotmail.com.

  12. Ptryk
    Member
    Posted 8 years ago #

    juryduty.. sent it over a little while ago.

    let me know if you have any trouble.

  13. JuryDuty
    Member
    Posted 8 years ago #

    Ptryk,

    Since my last post, I played with this quite a bit (mainly in the CSS) and got it working quite well, EXCEPT that I can't get it to keep the page you're viewing (or its parent) highlighted to indicate that you're viewing them and I have no idea why.

    Anyway, just a heads-up that I just sent you an email back detailing what I've done.

Topic Closed

This topic has been closed to new replies.

About this Topic