WordPress.org

Forums

[resolved] wp list pages (3 posts)

  1. x_maras
    Member
    Posted 6 years ago #

    Hi,

    I'm trying to make a submenu for my sidebar,
    but I want to have only the child pages from the
    active page.

    I've tried some things using the wp_list_pages and changing the values of 'depth' and 'child_of' but didn't work so good.

    I sure that this is possible to be done, I just don't know where to look.

    I would appreciate any help.

    Thanks
    Dinos

  2. Roy
    Member
    Posted 6 years ago #

    http://codex.wordpress.org/wp_list_pages
    I suppose this is where you started?

  3. x_maras
    Member
    Posted 6 years ago #

    Yes, I started from the codex.

    This is a little bit embarrassing because I was trying the whole day yesterday and finally I figured it out
    a bit later after posting here.

    Anyway, thanks for the quick response.

Topic Closed

This topic has been closed to new replies.

About this Topic