I am using the Template Tag function to hide an email address and I would like to add in a predefined Subject Line. I've tried it using this:
$mail = $user_info->user_email."?subject=Message from carmelcinema8.com";
or
$mail."?subject=Message from carmelcinema8.com";
But the template tag is stripping out the Subject Line and adding after the Javascript link.
I am using the AntiSpamBot function to hide emails.
Any ideas on how to fix this?
http://wordpress.org/extend/plugins/cryptx/
Ralf Weber
Member
Posted 8 months ago #
Hi katart17,
the problem should be solved with the new version 3.1.1.
Pls try the new version and give me a feedback.
Thx
Thanks for the update but it seems to break the template tag. I haven't add the subject line yet.
Does line 663 need to change from
$content = explode("?", $content);
to
$tmp = explode("?", $content);
I made this change and the template tag worked, but when I added the following line:
$mail."?subject=Message from carmelcinema8.com"
The generate quotes are misplaced.
Is this a preg_replace error?
Ralf Weber
Member
Posted 8 months ago #
Ok, my mistake!
I fixed the wrong variable and other problems found.
Please update to version 3.1.2.
PS: Feedback pls :-)
Thanks, works great!
You can see it in action here: http://www.carmelcinema8.com/beta/
The email icon at the bottom of the page is created by that the template tag.