• Resolved Mew

    (@gokumew2)


    Hi. I use this plugin to display a number of posts by tag on my page. One of the tags has more than 10 posts and only the last 10 are being showed on the list. How can I display more than 10 posts?

    I’ve already changed my settings to show 50 blog posts on a page, and also used the Health Check plugin to try to troubleshoot. Even with all plugins disabled except for Display Posts, it did not display more than 10 posts. (I use a child theme based on the Twenty Twelve theme.) Even when I choose to display the posts by their post ID instead of tag, only the first 10 will be shown.

    At this time, my only solution is to start a second shortcode tag with the one post that won’t show up in the original shortcode. However this makes it have a gap between the lists which doesn’t look good.

    Assistance would be appreciated. Thanks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Mew

    (@gokumew2)

    Looking at my theme’s functions.php file for the theme, I was reminded that you once helped me out with a modification here.

    add_filter( 'display_posts_shortcode_output', 'be_dps_modify_post_url', 10, 2 );

    Does the 10 in the above code have anything to do with my current issue? I tried changing it to 15 but my list would still only display 10 posts. My current theme is a child of a child. I tried changing the 10 to 15 in functions.php of both themes and purged the Cloudflare cache for both files. Still only displaying 10 posts…

    • This reply was modified 4 years, 9 months ago by Mew.
    • This reply was modified 4 years, 9 months ago by Mew.

    I have the same issue, it only displays 10 posts for me while using this shortcode:

    [display-posts wrapper=”div” tag=”rescuebygge” image_size=”thumbnail” include_excerpt=”true” excerpt_length=”80″ excerpt_more=”Forts?tt l?sa →” excerpt_more_link=”true”]

    Plugin Author Bill Erickson

    (@billerickson)

    Have you used the posts_per_page parameter to customize how many are displayed? By default it displays 10, but you can change that to whatever you’d like:

    [display-posts posts_per_page=”999″]

    Thanks a lot! I never used that one before and I think it listed more than 10 earlier. But now it works! ??

    Thread Starter Mew

    (@gokumew2)

    @billerickson

    Whoo hoo! That worked. Thank you!
    I actually looked in the documentation to see if there was any parameter such as this but did not see it listed. I lied. It’s there. I was looking under Display Parameters but it was listed under Query Parameters.

    Thank you again, and for the great plugin!

    • This reply was modified 4 years, 9 months ago by Mew.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘List not displaying more than 10 posts’ is closed to new replies.