Placeholder
Display a placeholder image while Ajax content is being loaded
In this example:
Ajax Load More will render a loading placeholder image as content is being fetched via Ajax.
The placeholder parameter accepts a value of true or an absolute URL image path.
-
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 vel eu leo. Sed posuere consectetur...
-
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 posuere velit aliquet. Integer posuere erat...
-
Lorem Ipsum Maec diam eget risus varius blandit
Donec ullamcorper nulla non metus auctor fringilla. Maecenas faucibus mollis interdum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Vestibulum id ligula porta felis euismod semper. Lorem Ipsum aenean lacinia bibendum nulla sed...
The following shortcode was used to create the Placeholder example.
Default
[ajax_load_more placeholder="true"]
Full Image Path
[ajax_load_more placeholder="/wp-content/uploads/my-placeholder.gif"]
The following Repeater Template was used to create the Placeholder example.