- This topic has 7 replies, 3 voices, and was last updated 13 years, 1 month ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 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 › Image not text to tease content?
Tagged: message
with emember, instead of: This content is for members only….
How can I change this to an image with Hyperlink?
You should only need to change the language file and replace the text with what you like.
I want an image to replace that text.
Not sure if this will work but can you try putting the following instead of the text:
<img src="http://www.your-image-url.com/myimage.jpg" />
Not sure where that code goes – didn’t work in the language file.
Any other ideas?
It would be great to have an image in place of the text!
I will try to explain a bit more. So if you open a language file in the “lang” directory of the plugin (e.g. eng.php) you will see many lines similar to the following:
define("EMEMBER_MEMBERS_ONLY_MESSAGE","This content is for members only.");
Say for example you want the change/customize the following message place an image instead of this message:
“This content is for members only.”
So all you have to do is put the HTML code that will display the image in the language file.. so modify the above line with the following:
define("EMEMBER_MEMBERS_ONLY_MESSAGE","<img src="http://www.your-image-url.com/myimage.jpg" />");
The “http://www.your-image-url.com/myimage.jpg” is the image that will be used instead of the text “This content is for members only”. Let me know if this makes sense.
The show image tricks works fine.
But around the image there is some ART BOX border and icon
How can I do to only show the image and not the art box?
Thanks!
Please post a link to the page in question so I can see what you mean by the “ART BOX border”.