Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Plugins
    In reply to: List subpages by ID
    Thread Starter chippeterson

    (@chippeterson)

    Thank You. Do I have any other option not to list the parent? Is the only solution to insert the links one by one, manually?

    If they will fix it, what should I do next? I’m not sure how this works.

    Forum: Plugins
    In reply to: List subpages by ID
    Thread Starter chippeterson

    (@chippeterson)

    Forum: Plugins
    In reply to: List subpages by ID
    Thread Starter chippeterson

    (@chippeterson)

    If the parent of page 23 is not in the list the page 23 will not pe displayed. Here is the code, I tested 5 times:

    <?php
    wp_list_pages(‘include=5,9,13,23&title_li=<h2>’ . __(‘Poetry’) . ‘</h2>’ ); ?>

    This will display all 4 pages because 13 is a parent of 23.

    <?php
    wp_list_pages(‘include=5,9,23&title_li=<h2>’ . __(‘Poetry’) . ‘</h2>’ ); ?>

    This will display only 5 and 9 because 13, the parent of 23, is not in the list.

    Is it possible to display only 23 but not it’s parent 13?

    Forum: Plugins
    In reply to: List subpages by ID
    Thread Starter chippeterson

    (@chippeterson)

    That is the point, wp_list_pages() will only display pages by ID number, but not subpages. It will only display page 5 and 9 but not 23 which it is a subpage in my particular case.

    I appreciate it.

Viewing 4 replies - 1 through 4 (of 4 total)