• Resolved sunofjuche

    (@sunofjuche)


    Hello, recently I’ve set up the plugin and wanted to use it for loading images from my media library. However, I just can’t get it to load any attachments, i. e. media, or images, while it still perfectly loads regular posts. See, this shortcode works, but it will only load posts, not attachments:

    [ajax_load_more post_type="any" posts_per_page="5"]

    And if I try applying filters like this:

    [ajax_load_more post_type="attachment" posts_per_page="5" no_results_text="No results"]

    or this, where I apply custom field “presentation” that I’ve set for some of my attachments:

    [ajax_load_more acf="true" acf_field_type="relationship" acf_field_name="presentation" posts_per_page="5" no_results_text="No results"]

    it simply refuses to load anything. I’m using the default repeater template. Any help appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not loading any attachments’ is closed to new replies.