Preloaded Posts
Preload an initial set of posts before completing any Ajax server requests
In this example:
The Preloaded add-on is used to display an initial set of posts on the server side before loading additional content via Ajax.
-
Ajax Load More Post Example
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam quis risus eget urna mollis ornare...
-
Donec ullam corper nulla metus auctor frinel
Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas faucibus mollis interdum. Vestibulum id ligula porta felis euismod semper. Integer posuere erat a ante venenatis dapibus...
The following shortcode was used to create the Preloaded Posts example.
[ajax_load_more preloaded="true" preloaded_amount="4" repeater="template_13" post_type="ajax_more" posts_per_page="6" pause="true" button_label="Show More Work" transition_delay="50"]
The following Repeater Template was used to create the Preloaded Posts example.