- This topic has 1 reply, 2 voices, and was last updated 14 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 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 › Replace Protected Content Text with Image
Hi,
I had been directed to post a new thread for the following tweak request:
Is it possible to embed images, for example buttons, where the protected content text appears? (E.g., “Please Login to view this Content.Not a member? Join Today!)” I suspect the image reference would have to go in the PHP files in the “lang” folder.
Thank you for any suggestions.
thk
Search for the following in the “wp_eMember1.php” file
$url_text .= '('.EMEMBER_NON_MEMBER.' <a href="'.$join_url.'">'.EMEMBER_JOIN.'</a>)';
Once you find it replace it with the following:
$url_text = '<a href="http://you-membership-join-url"><img src="http://www.your-domain.com/your-image-url" /></a>';
Just specify the URL of the target page and the image that you want to use in the “src” field.