Support » Plugin: Child Pages Block » Only last 10 pages showing

  • 10bradders10

    (@10bradders10)


    Hi,
    Great block idea, but it just needs a few more settings to work better.

    It only displayed the last 10 child pages for me, and they were in descending order of creation.

    Can you get this changed please to add all child pages, and in ascending order?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mark Barnes

    (@mark8barnes)

    I had this problem too. To ensure you have all the child pages, you can edit line 28 of the plugin to read:

    $the_query = new WP_Query( 'post_type=page&nopaging=true&post_parent='.$post_parent );

    It’s the &nopaging=true that will fix the problem.

    Plugin Author Umang Bhanvadia

    (@umang7)

    Thanks for the suggestion to both of you. I will do the changes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only last 10 pages showing’ is closed to new replies.