[resolved] Issue with listing subpages (2 posts)

  1. Jacorre
    Posted 8 years ago #

    Hi, I was wondering if someone could help with an issue I'm having. I have the following defined:

    <?php wp_list_pages('title_li=&include=2,4');?>

    It does not list the subpage that attached to ID #2. If I remove the include command it works fine, but I can't remove that include command because this list is listing specific pages.

    How do I define it so that I can keep the included pages, but display the subpage that's attached to a particular ID (or any other IDs in the future)?


  2. Adam Brown
    Posted 8 years ago #

    One way: Add the subpage's ID to the include part.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.