Home › Forums › General Issues › ACF user category and restrict content based on this › Reply To: ACF user category and restrict content based on this
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!
© 2022 Advanced Custom Fields.