Go to Juicer

Juicer.io Support Center

Search for any help questions or topics.

Limiting the number of posts shown in your Juicer feed

Show fewer posts and a “Load More” button
Avatar
Mario
Updated 10 hours 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.

Example: To limit the number of posts shown to 6, before a "Load More" button appears, add this to your embed code:

?per=6


If you are using our standard embed code, it will look like this.

<script type="text/javascript" src="https://www.juicer.io/embed/YOUR-JUICER-FEED-NAME/embed-code.js?per=6" async defer></script>


The iframe version of the Juicer code, it will appear like this:

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


If you are using the WordPress shortcode, add a similar customization into the shortcode:

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


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:

?pages=1


Like so:

<script type="text/javascript" src="https://www.juicer.io/embed/YOUR-JUICER-FEED-NAME/embed-code.js?per=6&pages=1" async defer></script>


iframe code behaves the same:

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


If you are using the WordPress shortcode, you can add a similar customization into the shortcode:

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


The YOUR-FEED-NAME will already be set to your unique feed ID.

☀️ This and many more easy code customizations you can find on our detailed Code customizations page.


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

 
Did this answer your question?
😞 😐 😃