In this example:
Ajax Load More will display a gallery of media attachments related by taxonomy terms.

Using the taxonomy parameter Ajax Load More will load attachments tagged with the sunset taxonomy term.


The following shortcode was used to create the Taxonomy Terms example.

[ajax_load_more post_type="attachment" post_status="inherit" taxonomy="alm-attachment" taxonomy_terms="sunset" taxonomy_operator="IN" button_label="Load More Images" button_loading_label="Loading Images..." transition="masonry" masonry_selector=".attachment" posts_per_page="4"]

Note: When querying attachments you must define post_status=”inherit” in the shortcode.

The following Repeater Template was used to create the Taxonomy Terms example.