Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › eMember – custom message issue in partial protection shortcode
Tagged: custom message, ememeber free membership disabled on site, messages for nonmembers, partial protection, section protection shortcode
- This topic has 7 replies, 3 voices, and was last updated 12 years, 8 months ago by
JBattin.
-
AuthorPosts
-
April 8, 2013 at 9:48 pm #8899
JBattin
MemberI am wanting to use a custom message and I can’t figure out what I’m doing wrong. I copied the statement from some of the tips. Here is what I have: [emember_protected for=2 custom_msg=”For Gold Members Only”]. What shows up is the first word no matter what I have in there. I don’t want to change the file because I want to customize according to the secured membership level.
Can someone tell me what I’m doing wrong?
Thanks.
April 8, 2013 at 11:20 pm #54959wpCommerce
ModeratorHi, can I take a look at the page where you are using this shortcode?
Please try copying the exact shortcode from here to see how it goes:
[emember_protected for="2" custom_msg="For Gold Members Only"]
Your content goes here
[/emember_protected]April 8, 2013 at 11:33 pm #54960JBattin
MemberSorry should have included it:
[http://bit.ly/XzZc6R]
Thanks.
April 8, 2013 at 11:37 pm #54961JBattin
MemberBy the way my version is: Version 1.9.3
April 9, 2013 at 4:31 am #54962admin
KeymasterThe version number you mentioned doesn’t sound correct. Please do the following:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
April 9, 2013 at 4:40 pm #54963JBattin
MemberOh my gosh I gave you the version for Lightbox – I have updated and am now on 8.5.7, but I still have the issue.
Thanks.
April 9, 2013 at 11:24 pm #54964wpCommerce
Moderator@JBattin, That page seem to have broken HTML code which is breaking up the layout. Please do the following:
1) Create a new WordPress page (you can call it a test page)
2) Enter the following code on that page
[emember_protected for="2" custom_msg="For Gold Members Only"]
Some test content. This content is only available to gold members.
[/emember_protected]3) Share the URL of this test page that you just created so I can check it.
April 10, 2013 at 3:21 am #54965JBattin
MemberI believe wordpress put in <code and </code(can’t put the rest in) surrounding the shortcodes when I put in my own html and that is why it was failing. It is working now, thanks for the help.
-
AuthorPosts
- You must be logged in to reply to this topic.