Title: Check if post restricted
Last modified: August 7, 2017

---

# Check if post restricted

 *  [rostislavk](https://wordpress.org/support/users/rostislavk/)
 * (@rostislavk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/check-if-post-restricted/)
 * Hi, is possible in archive template check if post restricted and add custom class?
   
   Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/check-if-post-restricted/#post-9388690)
 * Hi rosti,
 * Unfortunately, there is no option for that. We don’t control your theme’s archive
   templates or have specific functionality that would allow you to do that.

Viewing 1 replies (of 1 total)

The topic ‘Check if post restricted’ is closed to new replies.

 * ![](https://ps.w.org/front-end-only-users/assets/icon-128x128.png?rev=1805921)
 * [Front End Users](https://wordpress.org/plugins/front-end-only-users/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-only-users/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-only-users/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-only-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-only-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-only-users/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/check-if-post-restricted/#post-9388690)
 * Status: not a support question