Forums

Sub pages (8 posts)

  1. hismuse
    Member
    Posted 3 years ago #

    Is there a plugin for sub pages...I mean a way to have sub pages on the sidebar hide under main pages. Like my pages are:

    * This Site
    * About Me
    o Favorite Movies
    o Favorite Books
    o Astrological Profile
    o Random Things About Me
    * Links Not To Miss
    * Contact Me
    * Guestbook

    and I could have the favorite movies, books, astrological profile and random things have hidden under About Me.

    There must be something like that right?

  2. moshu
    Member
    Posted 3 years ago #

    Try search: "fold page menu" and similar keywords.

  3. hismuse
    Member
    Posted 3 years ago #

    I found the fold page menu one I think and the plugin page didn't exist anymore.

  4. ryanfitzer
    Member
    Posted 3 years ago #

    Certain themes have them by default. The best one I've seen is K2 It puts your main pages up top and once your click it, it shows the subpages in the sidebar of that page. That is if your willing to change your theme. I've also seen others in the codex's theme directory that do it exactly as you've listed but I can't remember which one's. You could do some cutting and pasting into your theme if you good at that kind of stuff. I haven't tried it.

  5. dhal
    Member
    Posted 3 years ago #

    Just use this code:

    <?php wp_list_pages('sort_column=menu_order&title_li=&depth=1' ); ?>

    It will only show the first top level (depth=1)

  6. mastermind
    Member
    Posted 3 years ago #

    Check out these: http://www.webspaceworks.com/resources/cat/wp-plugins/30/ and http://www.webspaceworks.com/resources/cat/wp-plugins/31/ and see them doing a fine job at my site. ;-)

    (Note that I modified both of them in order not to create links to the currently displayed page.)

  7. hismuse
    Member
    Posted 3 years ago #

    Ok, I got it to work but how do you get the hidden pages to open up?

  8. dhal
    Member
    Posted 3 years ago #

    I had success achieving this without a plug in (sorry plugin makers). What I did is download an existing theme that had this sort of set up (in this case K2) and either use it or copy the code (which I did). It worked quite well for me.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags