Title: Restrict custom fields?
Last modified: August 21, 2016

---

# Restrict custom fields?

 *  [jzatt](https://wordpress.org/support/users/jzatt/)
 * (@jzatt)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/restrict-custom-fields/)
 * I have a few pages that are restricted that displays custom fields bellow the
   content of the page.
 * This plugin blocks the the_content of those pages, but still displays the custom
   fields. Is there any way I can prevent this from happening? A conditional tag
   or anything I can use in the template?
 * Something like this would be great:
    `if (! is_restricted() ) { ...do something}`
 * [http://wordpress.org/plugins/pagerestrict/](http://wordpress.org/plugins/pagerestrict/)

The topic ‘Restrict custom fields?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pagerestrict.svg)
 * [Page Restrict](https://wordpress.org/plugins/pagerestrict/)
 * [Support Threads](https://wordpress.org/support/plugin/pagerestrict/)
 * [Active Topics](https://wordpress.org/support/plugin/pagerestrict/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pagerestrict/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pagerestrict/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [restrict](https://wordpress.org/support/topic-tag/restrict/)

 * 0 replies
 * 1 participant
 * Last reply from: [jzatt](https://wordpress.org/support/users/jzatt/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/restrict-custom-fields/)
 * Status: not resolved