Support » Plugin: Attachment Taxonomies » Access Images per Category

  • Resolved dklein


    Hi, I just downloaded this plugin and I am trying to display all images that are within a certain category. How can I do a query for just the images in a single category?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have this same issue – I would love to know the solution! I love this plugin, but this is the final piece to get it fully integrated into my client’s website.

    Plugin Author Felix Arntz


    If you want to use the shortcode, you can specify a specific category or tag to include images from it (see the question in the FAQ). If you want to simply query for media items of a certain category, you can use WP_Query for that, just like anywhere else. This is explained more closely in the WP_Query documentation. As taxonomy there you’d have to provide attachment_category (since that’s the internal slug of the categories used for attachments).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Access Images per Category’ is closed to new replies.