• Resolved wynden

    (@wynden)


    For some reason, my first two posts will not propagate with the Display Posts plugin. I initially had it written as:

    [display-posts image_size=”thumbnail” include_excerpt=”false” image_size=”thumbnail” wrapper=”div” wrapper_class=”display-posts-listing grid”]

    Then I tried adding all category names to try and force them to show:

    [display-posts category=”comics,current-events,pursuit-of-wisdom,sketch-and-sundry,uncategorized” image_size=”thumbnail” include_excerpt=”false” image_size=”thumbnail” wrapper=”div” wrapper_class=”display-posts-listing grid”]

    Still, those first two posts stubbornly refuse to appear. I’ve double checked that they both have featured images and categories selected. Can’t think of what else may be setting them apart.

    Any suggestions?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wynden

    (@wynden)

    I’ve realized the issue is not with the posts themselves. After adding a new post to the site, the next oldest post dropped off the display. So, no matter how many posts I have altogether, only the 10 newest will display in the grid. Is there any way to adjust this, or is it by design?

    • This reply was modified 1 week, 2 days ago by wynden.
    Plugin Author Bill Erickson

    (@billerickson)

    By default it will only display however many posts you have set in Settings > Reading (the WP default is 10).

    But you can use the posts_per_page parameter to change this. Ex: [display-posts posts_per_page="9999"]

    Thread Starter wynden

    (@wynden)

    Thank you for this! Sorry if I missed it in the documentation.

    So if I understand correctly, editing the WP Settings under Reading would affect the number of posts that display on individual pages, so incorporating the above parameter is preferable as it applies only to the display grid?

    Thank you again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.