- This topic has 3 replies, 3 voices, and was last updated 12 years, 10 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Using shortcodes within shortcode
Tagged: protected content, shortcodes
Hi there,
I would like to hide content displayed by a shortcode within a shortcode. Here is the example:
[emember_protected do_not_show_restricted_msg=1]
Welcome to the members area!
[wp_eStore_members_purchase_history_with_download]
[/emember_protected]
But it appears once logged in, the members purchase history with download doesn’t initiate, instead it shows the shortcode. I could use the shortcode outside of the protected content, but I wish to not show the “You need to be logged in as a member to view the purchase history” message.
Is there a workaround for this?
Thanks!
Hi,
I’ve just done a quick test doing what you’ve done on my test site and it works ok.
Which version of eMember and eStore are you using?
Try the tweaks in the following two posts and let me know how you go:
eStore – Shortcode Inside Another Shortcode (Shortcode Nesting) Not Working
That works great thank you! Thanks for not giving me a hard time about it being a re-post