Adding non-spammable email address
August 1st, 2008
I’ve been customizing a template for a website and am looking for a way to include an email address that can’t be found by a bot and spammed. I do not want to use something kludgy like “write us at admin (at) webweavers.org.” I have been trying to follow the instructions on the WordPress site on how to do this, and they cryptically mention the following:
“You can use a free online encoder to encode your email address or use the antispambot() function built into WordPress:
<?php echo antispambot(get_the_author_email()); ?>" There are no instructions on how to access this functionality. Do I put it in my header? My footer? Anywhere I like? What precisely am I supposed to write? Where do I put in the actual address? This article is marked "in need to editing." I agree....
I recommend you look into using a contact form like this:
DCoda Contact Me Form
http://www.dcoda.co.uk/index.php/downloads/wordpress/wp_contactme/
I downloaded and installed it – thanks – but it’s glitchy: when I try to add it to a post of page, all I get is a blank:
http://www.katya.info/wordpress/?p=68
and when I add it to the side bar, I cannot edit features I don’t want (such as changing the subject line). I edited the templates.html.php to do that, but it didn’t take.
I have emailed the developer to see if he can shed some light on this.
It looks like you sorted things out as I see it on your web site.
I believe the best use of this form is: placed on a page, not a post, nor on the sidebar.
It doesn’t make sense to edit the template file(s) unless you want a handy template for a page that will include the contact form in the future.
I found your site on technorati and read a few of your other posts. Keep up the good work. I just added your RSS feed to my Google News Reader. Looking forward to reading more from you down the road!