Home › Forums › General Issues › 'Custom Post Type' posts not showing in 'Location Rules' › Reply To: 'Custom Post Type' posts not showing in 'Location Rules'
Hello, I think I have the same problem, I’ve made a website in march 2013 using ACF. In this website, I’ve created a custom post type ‘product’ containing 270 posts. In one ACF Group, I put a rule to show the group to only two posts from product. It’s working fine, but, I’d like to add one new post in the rule and now, my product posts are not shown anymore. The two previous rules are working but don’t show the good info (ex: Post > is equal to > ‘first post of the list’*). *and the list don’t show anymore my products.
Following the topic here, I checked the registering of my custom post type and at the ‘capability_type’ line, I used this term : ‘content_editor’ accordingly to work with a plugin called ‘map cap’. I deactivated this plugin a put ‘post’ in place of content_editor and it did the trick.
Now I have to find a way to reactivate ‘Map Cap’. It’s a plugin to manage the right on user types following the custom post types.
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.