Home › Forums › ACF PRO › Relational Post Object No Results Found › Reply To: Relational Post Object No Results Found
Alright, so I’m happy to announce I’ve figured out the problem, and embarrassed to say it was all my fault, haha.
In functions.php I had a function set using pre get posts when a user performed a search query, allowing them to only return “movie” post types. I thought this was only affecting the front end, but it was actually affecting the entire site, backend and all. Once, I tweaked that code to basically only pre get posts for front end search queries, everything works as it should.
Stupid mistake on my part. But very happy to have this finally resolved.
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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.