Title: Working with ACF plugin
Last modified: September 28, 2016

---

# Working with ACF plugin

 *  Resolved [rickybrce](https://wordpress.org/support/users/rickybrce/)
 * (@rickybrce)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/working-with-acf-plugin/)
 * Hello,
 * Is there a possibility to make it to work with Advanced custom fields plugin?
   I mean protecting fields in the same way like content protection?
    Now if you
   protect some page in which are custom fields, only content is protected on that
   page and not fields.
 * Thank you for a great plugin!

Viewing 1 replies (of 1 total)

 *  [ancawonka](https://wordpress.org/support/users/ancawonka/)
 * (@ancawonka)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/working-with-acf-plugin/#post-8421284)
 * I hope you figured this out, but just in case (and for the next set of people
   that have this question).
 * The Members plugin only filters the_content, so you’ll have to add something 
   into your template file for that element.
 * I added this to my page.php template to prevent users from seeing the custom 
   fields that I would otherwise show on that page
 *     ```
       if (function_exists('members_can_current_user_view_post')){
         $page = get_queried_object();
         $visible = members_can_current_user_view_post($page->ID);
         if ($visible){
           show_page_fields(); 
         }
       }
       ```
   
    -  This reply was modified 9 years, 7 months ago by [ancawonka](https://wordpress.org/support/users/ancawonka/).

Viewing 1 replies (of 1 total)

The topic ‘Working with ACF plugin’ is closed to new replies.

 * ![](https://ps.w.org/members/assets/icon-256x256.png?rev=3508404)
 * [Members - Membership & User Role Editor Plugin](https://wordpress.org/plugins/members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/members/)
 * [Active Topics](https://wordpress.org/support/plugin/members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/members/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ancawonka](https://wordpress.org/support/users/ancawonka/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/working-with-acf-plugin/#post-8421284)
 * Status: resolved