Wordpress/Advanced Custom Fields - Displaying array values from profile page
Posted 28.01.2015 @ 4.40AM
There's a few WP devs here, hopefully some are using Advanced Custom Fields and can help with this...
I have a checkbox displayed on a user's profile page, where the admin can check certain values to determine what pages they can see. It's working fine to display certain content via this type of logic in templates:
I worked it out, but will need to check my code I haven't look at in a week to remind myself. And am using it for that reason, page/post and even on page content access.
Have also previously used Gravity Forms along with Tadlock's "Members" plugin for a membership site. So much leaner (and more stable) to be able to base things like this off Gravityforms rather than one of the many membership specific plugins, which I have found to be WAY too complex, bloated and not always reliable.