- This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 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 › WP eMember Tweaks › eMember – add a link to the blocked content message
Tagged: customization, protected content, Tweaks
Hi, I was using this link here to change the text that gets displayed when content is blocked: https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-plugin
I would however like to add a link within the message. For example, right now the code is:
define(“EMEMBER_CONTENT_RESTRICTED”,”You do not have permission to view this content. Please login or register”);
How can I make the login text link to domain.com/login and the register text link to domain.com/register?
Thanks!
Here is an example of how you can add link to the blocked/protected content message:
define("EMEMBER_CONTENT_RESTRICTED","You do not have permission to view this content. Please <a href='example.com/login-page'>login</a> or register");
Replace “example.com/login-page” with your actual login page URL. You can use this same technique to add more links.
thanks!