WordPress E-mail a page function

Well, I have something minor to share. Its about a plugin for wordpress.

This plugin allows you to add an email a friend link to your blog post. When you click an email a friend link, it will bring you to a page where you can put in your name and email address as well as that of your friend. The post will then be emailed to your friend!

Download the plugin and unzip it. It will come in a folder called email. Upload it to your plugins directory and activate it in your dashboard. Edit your theme now and insert the following code (in the loop) into your theme:

Be sure to enclose the top and bottom with the php tags!

if(function_exists(‘wp_email’))
{
email_link(‘e-mail this link’, ‘e-mail this page’);
}

Hope you will like this plugin!

Advertisements

One thought on “WordPress E-mail a page function

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s