Support » Plugin: Display Posts Shortcode » Not showing all child pages

  • Resolved broraxel

    (@broraxel)



    I have a problem with the shortcode not showing all child pages of a certain page. Only 10 out of 16 are showing. I read somewhere that the limit is 100, but is it by default set to 10 and can this be changed?

    Short code used:
    [display-posts post_type=”page” post_parent=”8″ wrapper=”div” order=”ASC” orderby=”title” image_size=”medium”]

    Thank you!
    Axel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    The default number of posts included in the listing are set in Settings > Reading, and WP sets it to 10 posts by default.

    You can override this with the posts_per_page parameter. Ex:

    [display-posts posts_per_page=”9999″]

    Ah, of course! Thank you, and thanks for great plugins!

    Cheers,
    Axel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not showing all child pages’ is closed to new replies.