Title: Add NOT_LOGGED shortcode
Last modified: August 22, 2016

---

# Add NOT_LOGGED shortcode

 *  Resolved [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/add-not_logged-shortcode/)
 * It would be possible to add a new shortcode, just for all guests that are not
   logged in?
 * [https://wordpress.org/plugins/restrict-partial-content/](https://wordpress.org/plugins/restrict-partial-content/)

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

 *  Plugin Author [Waqas](https://wordpress.org/support/users/speedito/)
 * (@speedito)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/add-not_logged-shortcode/#post-5332169)
 * I think what you mean is that it should be hidden for everyone who is not logged
   in. In that case you can use:
 * [restrict allow_role=”subscriber”]stuff that is hidden here[/restrict]
 * If this is not what you meant then please explain the situation a bit more
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/add-not_logged-shortcode/#post-5332182)
 * In your plugin, I always need to specify EVERY role.
    For example, if I use [
   restrict allow_role=”subscriber”] shortcode, content is displayed ONLY for subscriber.
 * It would be better to add a role and all roles above this could display hide 
   content.
 * If you add NOT_LOGGED shortcode, all registered members of the site could read
   hide content, without specify ALL roles in the site.
 *  [rahulchhlotre](https://wordpress.org/support/users/rahulchhlotre/)
 * (@rahulchhlotre)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/add-not_logged-shortcode/#post-5332334)
 * If want to show my content for 30 min when user will see particular page . Is
   this possible in this plugin .
    If any chance please let me know .
 * Thanks
    Rahul!
 *  Plugin Author [Waqas](https://wordpress.org/support/users/speedito/)
 * (@speedito)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/add-not_logged-shortcode/#post-5332335)
 * [@rahulchhlotre](https://wordpress.org/support/users/rahulchhlotre/)
    You should
   have opened another thread to keep it separate. However, to respond to you – 
   no this plugin cannot what you are trying to do.
 * [@danicasati](https://wordpress.org/support/users/danicasati/)
    I will be completely
   rewriting the plugin soon and will try to incorporate what you request as well
   as add a couple of new features.
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/add-not_logged-shortcode/#post-5332351)
 * Any news about new features?
    We’re waiting…

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

The topic ‘Add NOT_LOGGED shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/restrict-partial-content_308612.svg)
 * [Restrict Partial Content Plugin](https://wordpress.org/plugins/restrict-partial-content/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-partial-content/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-partial-content/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-partial-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-partial-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-partial-content/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Dani](https://wordpress.org/support/users/danicasati/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/add-not_logged-shortcode/#post-5332351)
 * Status: resolved