Query Wrangler
[resolved] Posts per Page error on frontend (3 posts)

  1. madai
    Posted 4 years ago #


    Excellent Plugin!!
    Thanks for it!

    I have a problem. In the query I limit the posts to display to 1 and on the backend view it lists only one post.
    On the frontend however, the plugin lists all the posts that match the filtering rules (3 posts).

    I tried everything, but it still doesn't take into account the posts per page value on the frontend.
    Can you check this for me?

    Thanks in advance,



  2. madai
    Posted 4 years ago #

    One thing may be important:
    This happens with the shortcode, the page I didn't try yet.

  3. madai
    Posted 4 years ago #

    Turns out that I found the cause of this problem.
    It's NOT the plugin!

    I'm using a theme which has settings for number of posts on category, tag, archive pages, etc. And no matter what number I use for post limits in Query Wrangler, if I'm filtering on category, tag or any of the above mentioned, then the limit will be overruled by the theme settings.

    I worked around this by adding a custom field to each post that I wanted to use for custom queries and then filtered on this value using Meta Key/Value Compare.

    Works perfectly :)

    Oh yes, use Advanced Custom Fields if you have a custom field fetish like I do :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Wrangler
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic