WordPress.org

Ready to get started?Download WordPress

Forums

Child page not working (9 posts)

  1. prosperewebitor
    Member
    Posted 6 years ago #

    Shouldn't a child page be a dropdown from the parent page? If so, why is it appearing as if it was a regular parent page? Do I need a plugin in order for it to work properly?

    Thanks

  2. MichaelH
    Member
    Posted 6 years ago #

    How are you displaying the Pages? Are you using hierarchical=1 parameter with the template tag, wp_list_pages()?

  3. prosperewebitor
    Member
    Posted 6 years ago #

    Michael,

    I'm not sure what that means. I don't see a hierarchial=1 parameter in the coding. Is this like page order? I'm a little code-illiterate.

    Thanks

    C

  4. MichaelH
    Member
    Posted 6 years ago #

    hierarchical
    (boolean) Display sub-Pages in an indented manner below their parent or list the Pages inline. The default is true (display sub-Pages indented below the parent list item). Valid values:

    * 1 (true) - default
    * 0 (false)

  5. prosperewebitor
    Member
    Posted 6 years ago #

    So this goes in the header template or the page template?

    I'm sorry, but I'm still confused.

  6. prosperewebitor
    Member
    Posted 6 years ago #

    I think I may have figured out how to do it...sort of. The child pages aren't appearing NEXT to the parent page on the header, but it's not appearing at below it when you click on the parent page either. Please help!

    Thanks

    C

  7. MichaelH
    Member
    Posted 6 years ago #

    Brian's Vertigo theme show's child pages under parent so take a look at that for reference:
    http://www.briangardner.com/demos/

  8. prosperewebitor
    Member
    Posted 6 years ago #

    Yes, but it doesn't really tell me HOW to do it.

    I've figured out how to HIDE the child pages from view, but still haven't figured out how to make it appear beneath the parent. Currently, they're links on the parent page.

  9. MichaelH
    Member
    Posted 6 years ago #

    Ah, then this search will get you some hits on that:
    http://www.google.com/search?q=css+pull-down+menus

    Codex Resources:
    CSS
    Creating_Horizontal_Menus

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags