CMS & WordPress
sixrfan — 2011-08-30T11:25:59-04:00 — #1
i'm using the [wp email guard plugin to obfuscate the email from spammers on [URL="http://www.goldcoastchamber.com/member-directory/office-products/"]this page](http://wordpress.org/extend/plugins/wp-email-guard/).
here's what the code looks like in the HTML editor:
547 River Rd.
Edgewater, NJ 07020
Benito Rivera, Account Manager
Cell: 201-923- 2033
Tel: 201-945- 0955
<a href="http://www.staples.com/copyandprint" target="blank">www.staples.com/copyandprint</a>
but since there is a "." in between the first two names of the e-mail, when you look at the remote page, you see that the linkage of the e-mail only covers "firstname.lastname@example.org".
how do i code this so that the whole e-mail is a link, or the whole e-mail is NOT a link. I just want it to be consistent so it doesnt get cutoff.
please advise. thanks in advance!
theraptor — 2011-08-30T11:30:56-04:00 — #2
sixrfan — 2011-08-30T14:15:48-04:00 — #3
dguruwu — 2012-03-04T04:32:14-05:00 — #4
That did not work for me. Same result as before. Using 0.3 version. Period's break it into two different e-mail links, neither of which would send properly to the correct address.
mittineague — 2012-03-04T12:59:58-05:00 — #5
If you really want to go this route though you could: Find another plugin. Hack this one.
After a quick look the problem looks to be the regex pattern used - i.e. (\w+)@(\w+)\.(\w+)
periods are not a "word character".
mittineague — 2014-09-24T22:12:33-04:00 — #6
This topic is now archived. It is frozen and cannot be changed in any way.