Title: [Plugin: Display Posts Shortcode] posts_per_page problems
Last modified: August 20, 2016

---

# [Plugin: Display Posts Shortcode] posts_per_page problems

 *  Resolved [krister flodin](https://wordpress.org/support/users/kristerlindgrenflodincom/)
 * (@kristerlindgrenflodincom)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-posts_per_page-problems/)
 * First of all… thank you for a wonderful and great plugin.
 * I want to limit the the output to only the three latest news items in the “nyheter”
   category. I’m using:
    [display-posts category=”Nyheter” include_date=”true” include_excerpt
   =”true” posts_per_page=”3″] But it doesn’t work… it shows all the posts in the“
   nyheter” category.
 * It’s probably super-silly-simple… but I’ve spent the last 4 hours banging my 
   head to the wall tying to figure it out 🙂
 * thank you.
    –kribbo
 * [http://wordpress.org/extend/plugins/display-posts-shortcode/](http://wordpress.org/extend/plugins/display-posts-shortcode/)

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

 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-posts_per_page-problems/#post-2665448)
 * Have you tried disabling all plugins and switching to the default theme? It sounds
   like something is interfering with the query.
 * I just tested it on my own installation and that shortcode works perfectly.
 *  Thread Starter [krister flodin](https://wordpress.org/support/users/kristerlindgrenflodincom/)
 * (@kristerlindgrenflodincom)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-posts_per_page-problems/#post-2665451)
 * Thanks Bill,
 * I’m not sure that I dare to shut down the theme… it’s too much theme-specific
   content. [http://www.seeanddo.se](http://www.seeanddo.se)
    (it’s the news on 
   the bottom of the page, only supposed to be 3 of them) But I’ll try to disable
   all the plugins and see if that works.
 * If it don’t work I can try to do it with CSS.
 * Thanks again
    –kribbo

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

The topic ‘[Plugin: Display Posts Shortcode] posts_per_page problems’ is closed 
to new replies.

 * ![](https://ps.w.org/display-posts-shortcode/assets/icon-256x256.jpg?rev=2940963)
 * [Display Posts - Easy lists, grids, navigation, and more](https://wordpress.org/plugins/display-posts-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/display-posts-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/display-posts-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-posts-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-posts-shortcode/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [krister flodin](https://wordpress.org/support/users/kristerlindgrenflodincom/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-display-posts-shortcode-posts_per_page-problems/#post-2665451)
 * Status: resolved