Display Posts Shortcode
[resolved] posts_per_page problems (3 posts)

  1. krister@lindgrenflodin.com
    Posted 4 years ago #

    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.


  2. Bill Erickson
    Plugin Author

    Posted 4 years ago #

    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.

  3. krister@lindgrenflodin.com
    Posted 4 years ago #

    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
    (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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic