WordPress.org

Ready to get started?Download WordPress

Forums

Page ordering; parent pages (3 posts)

  1. simenfs
    Member
    Posted 8 years ago #

    Hiya!

    On my WordPress sidebar I have my pages showing like this:
    <?php wp_list_pages('sort_column=post_title&depth=1&title_li=<h4>' . __('Pages') . '</h4>' ); ?>

    Since it is no way of sorting the pages into archives/categories, I'm using pages with parent to other pages.

    So, Page looks like this on my sidebar:
    Media
    Profiles
    Other

    But how can I get so that once I click fx Media, it will show the sub pages? Like this:
    Media
    - Downloads
    - Movies
    - Music
    Profiles
    Other

    Thanks for any help you may give me, because Im not any good with php, just enough to change whats allready there, to some degree.

    Thanks.

    (Im using daisyreagemini theme)

  2. moshu
    Member
    Posted 8 years ago #

    You will find discussion about that kind of menu by searching for "fold"
    http://search.wordpress.org/fold+page+menu

  3. simenfs
    Member
    Posted 8 years ago #

    Hey hey!

    Thanks alot, didn't know what it was called, so didn't search for fold :)

    But thanks, this will prolly sort my problem out :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.