Home>Support>Limit number of posts in query for Posts Carousel

Limit number of posts in query for Posts Carousel

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I’m trying to build a new post carousel and I’ve built a query that pulls back 100+ posts. I’ve set it to show 4 posts per page, but I’m wanting to limit the query to bring back the 8 most recent posts that match the query criteria.

So it shows the 4 newest posts, people can scroll to see the 5th, 6th, 7th and 8th newest posts, but then it loops round to the start. At the moment it keeps going until the end of the query

Is there a way around this?

Thanks

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Nathan,

    Unfortunately, this isn’t possible without some custom coding at this time. I’ve marked this thread as a feature request. We often look through these threads to get ideas for what to add in our future updates. Hopefully, we’ll be able to add this in a future update.

    If you need this urgently, you could always post a job on Codeable.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More