I have also been having this issue on my custom post types and I noticed that removing preview=true from the url query strings shows all the ACF custom fields.
I am using WP 6.4.1/ ACF PRO 6.2.2.
Yes, I think that seems to work for me now. So, it looks like a new “page” must be created in WP with the same slug as the taxonomy. In my above example, I created a new page with a slug course_categories. Then, that got tied up to page.php template instead of returning the “page not found”. I could also create a new template page-{taxonomy}.php.
Yes, I thought so too. The same is true on the default blog categories in WP. I guess that’s something that needs to be dealt with within the CMS?
Both the “public” or “publicly_queryable” settings have always been switched on. I had already tried regenerating rewrite rules by re-saving the permalink several times.
I have been noticing an issue with this.
When I generated the PHP code from ACF > Tools > Export, I could not see any “archive” key/value field in the PHP code.
I created a hierarchical taxonomy called ‘course_categories’. It generates the category URLs like these:
https://example.com/course_categories/craft/ <- working
https://example.com/course_categories/craft/jewellery/ <- working
However, this link: https://example.com/course_categories/ always returns page not found.
How do I resolve this?
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.