Home Forums Add-ons Repeater Field Repeater, post category


Repeater, post category

  • I am trying to use the Repeater to repeat on a page if post category is 4?
    Hope this makes. I know if it’s from a page i can add ‘field_name’ , ’27’ with the 27 being the page number, but how do I go about this for a Post Category? Thanks for any help in advanced.

  • For a post category field where the term_id is 4 the post_id to use with ACF is category_4 or $term->taxonomy.'_'.$term->term_id

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

The topic ‘Repeater, post category’ is closed to new replies.