Title: Nesting Shorcode
Last modified: August 31, 2016

---

# Nesting Shorcode

 *  Resolved [lomok](https://wordpress.org/support/users/lomok/)
 * (@lomok)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/nesting-shorcode/)
 * Hi!
 * Firstly thanks for the awesome plugin!
 * Secondly I am having issues with nesting the shortcode on a multi user site that
   I am building (currently on MAMP) using Buddypress and Page Builder. Here’s what
   I would like to do…
 * 1. Restrict access to users who are not logged in (display a message), hide the
   message once a user has logged in.
 * 2. Restrict access to ‘level 1’ users (display a second message), hide the first&
   second messages once a level 2 or admin user logs in.
 * 3. Allow content through for ‘level 2’ and ‘Admin’ users.
 * This would only happen on certain pages…
 * Just a bit confused as to a logical sequence of the shortcode nesting. Would 
   appreciate your help!
 * [https://wordpress.org/plugins/eyes-only-user-access-shortcode/](https://wordpress.org/plugins/eyes-only-user-access-shortcode/)

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

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/nesting-shorcode/#post-7052977)
 * I’m not sure why you need to nest.
 * [eyesonly logged=out]Message to logged out users only.[/eyesonly][eyesonly level
   =”level1″]Message to level 1 users only.[/eyesonly][eyesonly level=”level2,administrator”]
   Message to level 2 and admin users.[/eyesonly]
 * Makre sure your Administrator Override setting is deactivated on the Eyes Only
   Options page, otherwise administrators will see all messages.
 *  Thread Starter [lomok](https://wordpress.org/support/users/lomok/)
 * (@lomok)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/nesting-shorcode/#post-7052979)
 * This is what happens when you start comparing things to Java.
 * All sorted! Thanks for your help!
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/nesting-shorcode/#post-7052980)
 * No problem. Have fun.

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

The topic ‘Nesting Shorcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eyes-only-user-access-shortcode_f1f0ef.
   svg)
 * [Eyes Only: User Access Shortcode](https://wordpress.org/plugins/eyes-only-user-access-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eyes-only-user-access-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eyes-only-user-access-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/eyes-only-user-access-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eyes-only-user-access-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eyes-only-user-access-shortcode/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [thomstark](https://wordpress.org/support/users/thomstark/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/nesting-shorcode/#post-7052980)
 * Status: resolved