WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. madai
    Member
    Posted 2 years ago #

    Hi,

    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,

    Zoltan

    http://wordpress.org/extend/plugins/query-wrangler/

  2. madai
    Member
    Posted 2 years ago #

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

  3. madai
    Member
    Posted 1 year 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

About this Topic