Title: Shortcodes with Level Access
Last modified: August 31, 2016

---

# Shortcodes with Level Access

 *  Resolved [broinjc](https://wordpress.org/support/users/broinjc/)
 * (@broinjc)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-with-level-access/)
 * Hi,
 * Can I use the short code to allow access in hierarchical way?
 * Like,
 *     ```
       [restrict level>=3]
       content for level 3 or greater
       [/restrict]
       ```
   
 * [https://wordpress.org/plugins/restrict-user-access/](https://wordpress.org/plugins/restrict-user-access/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-with-level-access/#post-6944139)
 * This is possible, but not with that code.
 * Instead, make sure that the “higher” levels extend Level 3. E.g. go edit Level
   4 and select **Extend: Level 3**.
 * Now users with Level 4 will automatically inherit any capabilities and content
   restrictions set in Level 3 as well.
 * Then, just use this code:
 *     ```
       [restrict level="level-3"]
       content for level 3 or greater
       [/restrict]
       ```
   
 * Let me know if this works.
 *  Thread Starter [broinjc](https://wordpress.org/support/users/broinjc/)
 * (@broinjc)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-with-level-access/#post-6944140)
 * That was a fast response! Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcodes with Level Access’ is closed to new replies.

 * ![](https://ps.w.org/restrict-user-access/assets/icon-256x256.png?rev=1815922)
 * [Restrict User Access - Ultimate Membership & Content Protection](https://wordpress.org/plugins/restrict-user-access/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-user-access/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-user-access/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-user-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-user-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-user-access/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [broinjc](https://wordpress.org/support/users/broinjc/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-with-level-access/#post-6944140)
 * Status: resolved