@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 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,
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.
@thomasplevy I think you forgot to see my reply last night 😉
@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.
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,
PERFECT!!!!! You should put that on the page for people who do not know how to program.
Thanks!!!!