ACF PRO 5.6.6
In a project I need to display a CPT (programmation) related to another one (lieux).
In Programmation, I have a repeater filed named les_representations and a subfield ‘lieu_de_la_representation’ (post object)
this is my code
Update: Since the changed behaviour of esc_sql() in WordPress 4.8.3, it is not easy to use the % character as a placeholder for the following search and replace, instead, we recommend that you use the $ character as shown below.
That may be causing your issue ^
Please let me know if that helps, or if we need to dig a bit deeper.
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘Sub field repeater query’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users