Hi @nino88,
Yes, WP_Query won’t work with options page because it isn’t a post. Please take a look at this page to learn more about WP_Query: https://codex.wordpress.org/Class_Reference/WP_Query.
WP_Query is a way for WordPress to get your posts or custom posts. A repeater is a custom field that you can add inside posts, custom posts, options page, etc. So you can use WP_Query to get the posts you want and then get the repeater inside that posts using have_rows() function. This page should give you more idea about it: http://www.advancedcustomfields.com/resources/repeater/
I hope this makes sense.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.