Home Forums Add-ons Repeater Field Repeater field with Custom Taxonomy


Repeater field with Custom Taxonomy

  • Here is my problem.

    I have created a custom post type to create photography albums. I have named it ‘Album’.
    I have a repeater which has two fields. One is the ‘image’ and another is a custom taxonomy called ‘Themes’.
    So each photo inside an album is linked to one or more ‘theme’ terms.

    Now in the front-end I want to display the list of ‘theme’ terms and the associated photos from ALL THE ‘albums’.

    I tried querying for the attachments from all posts of the Album custom post type.

    Then I did a image meta to find out if the theme term is associated with it. But the results just gave me the size values.

    So how do I go about this??
    Can anyone help me?

  • Hi @lightyearmagic

    You should be able to do it by querying the subfield. To do that, kindly check this tutorial:

    I hope this helps 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Repeater field with Custom Taxonomy’ is closed to new replies.