[repeater] inside [related] not working
-
I have a custom post-type called “Schools” featuring an ACF relation field called “acf_people”.
The “acf_teachers” field is designed to link to another custom post-types called “Teachers”.
Each “Teacher” post-type has an ACF repeater field called “acf_books”.
I want to display all books from each teacher for every school. I proceed as follows:
[loop type=schools] School: [field title] [related acf_teachers] Teacher name: [field title] Favourite books: [repeater acf_books] [field acf_bookname] ([field acf_bookyear]) [/repeater] [/related] [/loop]This code doesn’t work. I did some tests and it seems that the
[repeater]doesn’t work inside a[related].Before I go for a very convoluted alternative approach, am I missing something?
Thank you
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘[repeater] inside [related] not working’ is closed to new replies.