Posts Tagged ‘contact’

Adding non-spammable email address

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....

Tags: , ,