Title: Restrict content containing shortcode
Last modified: April 25, 2024

---

# Restrict content containing shortcode

 *  Resolved [rosbiffer](https://wordpress.org/support/users/rosbiffer/)
 * (@rosbiffer)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/restrict-content-containing-shortcode/)
 * I have a page that I would like to have part of restricted only to certain groups.
   I thought I could do this
 *     ```wp-block-code
       [profilegrid_show gid="7"]
   
       [profilegrid_group gid="7"]
   
       [/profilegrid_show]
   
       Unrestricted content...
       ```
   
 * However when members of group 7 view the page the profilegrid group shortcode
   is not parsed. Is that intentional? Is is possible to do what I am trying to 
   do?

Viewing 1 replies (of 1 total)

 *  Plugin Author [ProfileGrid Support](https://wordpress.org/support/users/profilegrid0/)
 * (@profilegrid0)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/restrict-content-containing-shortcode/#post-17715949)
 * Hello [@rosbiffer](https://wordpress.org/support/users/rosbiffer/),
 * The Conditional Content show Shortcode does not parse the shortcode as of now,
   you may only put the content in between to display in condition.
 * You may use the page or post content display option to show the shortcode based
   on group. For more information on this, please visit the link: [https://profilegrid.co/wordpress-content-restriction/](https://profilegrid.co/wordpress-content-restriction/)
 * We have noted this requirement and forwarded it to our team for possible improvement
   in future updates.

Viewing 1 replies (of 1 total)

The topic ‘Restrict content containing shortcode’ is closed to new replies.

 * ![](https://ps.w.org/profilegrid-user-profiles-groups-and-communities/assets/
   icon.svg?rev=2547387)
 * [ProfileGrid – User Profiles, Groups and Communities](https://wordpress.org/plugins/profilegrid-user-profiles-groups-and-communities/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profilegrid-user-profiles-groups-and-communities/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profilegrid-user-profiles-groups-and-communities/)
 * [Active Topics](https://wordpress.org/support/plugin/profilegrid-user-profiles-groups-and-communities/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profilegrid-user-profiles-groups-and-communities/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profilegrid-user-profiles-groups-and-communities/reviews/)

## Tags

 * [conditional](https://wordpress.org/support/topic-tag/conditional/)
 * [hide](https://wordpress.org/support/topic-tag/hide/)
 * [show](https://wordpress.org/support/topic-tag/show/)

 * 1 reply
 * 2 participants
 * Last reply from: [ProfileGrid Support](https://wordpress.org/support/users/profilegrid0/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/restrict-content-containing-shortcode/#post-17715949)
 * Status: resolved