• Resolved Arjhan Polonio

    (@arjhan-polonio)


    I have this two shortcodes in a page but they’re both showing all the posts in their categories.

    [display-posts category=”article” posts_per_page=”5″]
    [display-posts category_id=”3″ post_per_page=”5″ ]

    How can I limit to five posts only, if posts_per_page is not working?

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

    (@billerickson)

    Either your theme or a plugin is altering the query. I recommend you change themes temporarily to see if it’s a theme issue, and if not, disable plugins one-by-one to determine which plugin is causing it.

    Once you know the source of the issue, you can contact that theme or plugin developer for help resolving this conflict.

Viewing 1 replies (of 1 total)
  • The topic ‘Display Posts Shortcodes: posts_per_page not working’ is closed to new replies.