• Resolved wpress2010

    (@wpress2010)


    I have a site where I use Pods to list a number of real estate properties by category. If I do not specify the “limit” in the code, the default number of items returned is apparently set to only 15. Looked around in the Pods docs for this, but did not find anything. I did find the “limit” parameter. So, if I wanted display, say up to 100 items, I would do this:

    [pods name=”property” where=”category.name = ‘Sold'” limit=”100″ template=”SOLD#2″ orderby=”post_date DESC” shortcodes=1]

    But there must be a simple way to set this so that it just returns ALL items?

    TIA for your suggestions.

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @wpress2010

    Please try to set the limit to 0 or -1. This is a common practice in WordPress to define “unlimited”.

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Template and number of posts returned’ is closed to new replies.