Home › Forums › General Issues › ACF user category and restrict content based on this › Reply To: ACF user category and restrict content based on this
Alright.
While it’s possible to do it requires quite a bit of coding.. You’d need to hook into each archive, single etc. queries and exclude posts based on the users value and posts value. It’s also not really an ACF issue, more of an overall code challenge 😉
If you’re not up for this I’d suggest you either hire a developer to do it for you or take a look at the many membership/post restriction plugins out there.. they might be what you need 🙂
This for example: https://pippinsplugins.com/restricted-content-plugin-free/
If you want I’m able to help you outside of ACF forum as a developer by hourly rate but I’m sure any decent WP developer could help you with 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.