I’m using a post_object field (with pages selected as post type) within a repeater. We have a site with several hundred pages and it’s extremely difficult to find the page you are looking for when using this field when editing a page. However, I’ve searched the source and can confirm several pages – I have no idea how many – are missing from the dropdown.
No related errors in the logs, no errors with WP_DEBUG on.
Is there a limit to how many will show in this dropdown? Anything else that could be causing this?
Thanks in advance.
Hi @craigivemy
I would start here: https://www.advancedcustomfields.com/resources/acf-fields-post_object-query/
Hook into that bad boy and see what args are being set. I have found, unrelated to ACF, that sometimes I need to force the post_status=publish
for some things to return properly. Maybe start there?
You could also check this guy to see what’s being returned: https://www.advancedcustomfields.com/resources/acf-fields-post_object-result/
Phil