Title: Hide content shortcode
Last modified: June 29, 2017

---

# Hide content shortcode

 *  Resolved [tolito10](https://wordpress.org/support/users/tolito10/)
 * (@tolito10)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/hide-content-shortcode-2/)
 * Hi,
 * i want to know if is possible hide content that not be a shortcode or text.
    
   What I want to do is through elementor:
 * -shortcode element [lifterlms_hide_content id=”1234″]
    -video element or anything
   element. -shortcode element [/lifterlms_hide_content]
 * the first shortcode is good but the [/lifterlms_hide_content] not work as shortcode
   if not a text:
 * ![SHORTCODE-VIDEO-SHORTCODE](https://i0.wp.com/i63.tinypic.com/1hp4di.png)
 * not is possible use the HIDE CONTENT in TWO shortcodes? separately
 * instead of:
 * -SHORTCODE: [lifterlms_hide_content id=”1234″] VIDEO OF VIMEO [/lifterlms_hide_content]
 * TWO Shortodes:
 * -SHORTCODE: [lifterlms_hide_content id=”1234″]
    -VIDEO OF VIMEO -SHORTCODE 2:[/
   lifterlms_hide_content]
 * Thanks and regards.
 * DAVID
    -  This topic was modified 8 years, 11 months ago by [tolito10](https://wordpress.org/support/users/tolito10/).
    -  This topic was modified 8 years, 11 months ago by [tolito10](https://wordpress.org/support/users/tolito10/).

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

 *  [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * (@thomasplevy)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/hide-content-shortcode-2/#post-9278859)
 * [@tolito10](https://wordpress.org/support/users/tolito10/),
 * I’m having a hard time following your issue here. This isn’t two separate shortcodes
   it’s one shortcode that requires a closing tag to be added to determine where
   the hidden content ends.
 * It’s possible to nest shortcodes within shortcodes and it should be possible 
   to nest a video within the shortcode as well but I can’t guarantee that depending
   on what your theme and plugin stack looks like and how the embed is working and
   the other shortcodes.
 * Help me out with a bit more concerete information here, there’s a few pieces 
   of info from the [STICKY](https://wordpress.org/support/topic/read-this-before-posting-11/)
   that help me out a bit. Also, if you can give me a link to a page where you’re
   using this shortcode but it’s not working that would be helpful as well
 * Thanks,
 *  Thread Starter [tolito10](https://wordpress.org/support/users/tolito10/)
 * (@tolito10)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/hide-content-shortcode-2/#post-9281455)
 * Hi Thomas,
 * ok, I understand that can not put in two shortcodes separately, it always has
   to be in a single shortcode. Now the problem I have is that I do not know how
   to write the shortcode so that it shows a text to visitors that is not registered,
   where and how i put that text in the shortcode?:
 * [lifterlms_hide_content id=”1234″]
 * This will only display to members of membership 1234
 * [/lifterlms_hide_content]
 * I do not know how to program, Thansk and regards.
 *  Thread Starter [tolito10](https://wordpress.org/support/users/tolito10/)
 * (@tolito10)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/hide-content-shortcode-2/#post-9286680)
 * [@thomasplevy](https://wordpress.org/support/users/thomasplevy/) I think you 
   forgot to see my reply last night 😉
 *  [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * (@thomasplevy)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/hide-content-shortcode-2/#post-9296517)
 * [@tolito10](https://wordpress.org/support/users/tolito10/),
 * You can display a message when the user isn’t enrolled in the course/membership(
   but not rich HTML due to the way shortcode parameters work) by using the “message”
   parameter as documented on our [shortcode docs page](https://lifterlms.com/docs/shortcodes/#lifterlms_hide_content).
 * Here’s an example:
 *     ```
       [lifterlms_hide_content id="1234" message="Non members will see this message"]
       This will only display to members of membership 1234
       [/lifterlms_hide_content]
       ```
   
 * Hope that helps,
 *  Thread Starter [tolito10](https://wordpress.org/support/users/tolito10/)
 * (@tolito10)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/hide-content-shortcode-2/#post-9297742)
 * PERFECT!!!!! You should put that on the page for people who do not know how to
   program.
 * Thanks!!!!

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

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

 * ![](https://ps.w.org/lifterlms/assets/icon.svg?rev=2034507)
 * [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes](https://wordpress.org/plugins/lifterlms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lifterlms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lifterlms/)
 * [Active Topics](https://wordpress.org/support/plugin/lifterlms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lifterlms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lifterlms/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [tolito10](https://wordpress.org/support/users/tolito10/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/hide-content-shortcode-2/#post-9297742)
 * Status: resolved