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:
Example: To limit the number of posts shown to 6, before a "Load More" button appears, add this to your embed code:
?per=6
<script type="text/javascript" src="https://www.juicer.io/embed/YOUR-JUICER-FEED-NAME/embed-code.js?per=6" async defer></script>
<iframe src="https://www.juicer.io/api/feeds/YOUR-JUICER-FEED-NAME/iframe?per=6" frameborder="0" width="1000" height="1000"></iframe>
[juicer name="YOUR-FEED-NAME" per="6"]
?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 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.