Go to Juicer

Juicer.io Support Center

Search for any help questions or topics.

Limiting the number of posts shown in your feed

Avatar
Mario
Updated 1 year ago
Many users wish to display only a certain number of posts in their feed, followed by a “Load More” button. Juicer makes this simple.
 
You may want to limit the number of posts that appear in your Juicer feed. This is possible with a small change to your embed code. In this example, we will limit the number of posts shown to 6, before a “Load More” button appears. 

If you are using the standard Juicer code, simply add:

data-per="6"


…into the line of your embed code that starts with <ul class...> like so:

<ul class="juicer-feed" data-feed-id="YOUR-FEED-NAME" data-per="6"></ul>

The “YOUR-FEED-NAME” portion of the code will already be set to your unique feed ID. 

 

If you do not want a “Load More” button to appear, you can add another customization that limits the feed to a single page. You will add:

data-pages="1"

Like so:

<ul class="juicer-feed" data-feed-id="YOUR-FEED-NAME" data-pages="1" data-per="6"></ul>

If you are using the WordPress shortcode, you can add a similar customization into the shortcode, which does not include “data” – like so:

[juicer name="YOUR-FEED-NAME" pages="1" per="6"]

If you are using the iframe version of the Juicer code, it will appear like this (see bold part below):

<iframe src="https://www.juicer.io/api/feeds/YOUR-JUICER-FEED-NAME/iframe?per=1&pages=6" frameborder="0" width="1000" height="1000"></iframe>
 
 

If you have any questions or need any help, please email us at hello@juicer.io.

 
Did this answer your question?
😞 😐 😃