WordPress.org

Ready to get started?Download WordPress

Forums

Displaying Subpage Siblings (2 posts)

  1. mtbello
    Member
    Posted 7 years ago #

    I have Pages with multiple subpages. I would like the subpages to display their siblings (other subpages with the same parent). Is this possible? I've been searching all night with no luck.

    Any help would be appreciated.

  2. mores
    Member
    Posted 6 years ago #

    the magic word is wp_list_pages
    check your template (sidebar.php or header.php, maybe even index.php) for wp_list_pages, then check this stuff
    http://codex.wordpress.org/Template_Tags/wp_list_pages#List_subpages_even_if_on_a_subpage
    and fiddle with it.

Topic Closed

This topic has been closed to new replies.

About this Topic