WordPress.org

Plugin Directory

wiki:wp-email/install

WP-EMail Installation Instructions

Open wp-content/plugins folder

Put:

  1. Folder: email


Activate WP-EMail plugin

Note:

  • You MAY Need To Re-Generate The Permalink.
  • Options -> Permalinks Options -> Update Permalink Structure


Open wp-content/themes/<YOUR THEME NAME>/index.php

Find:

<?php while (have_posts()) : the_post(); ?>

Add Anywhere Below It:

<?php if(function_exists('wp_email')) { email_link(); } ?>

Note:

  • The first value you pass in is the text for emailing post.
  • The second value is the text for emailing page.
  • Default: email_link('EMail This Post', 'EMail This Page')
  • If you want to use an image/icon instead, replace email_link(); with email_link_image();
  • If you want to use a popup window, replace email_link(); with email_popup(); for normal link or email_popup_image(); for image/icon.
  • If you are having templates problem, I recommend you to use the popup window option instead.



Alternative placing of "Email this post"

Open wp-content/themes/<YOUR THEME NAME>/post.php

Decide if link goes at header or footer of each post

Add:

<?php if(function_exists('wp_email')) { email_link(); } ?>

Note:

  • Dependant on your theme



Log into http://www.yourdomain.com/wordpressdirectory/wp-admin/

Click "E-Mail"

  • Modify your settings accordingly.

Note:

  • If the mailserver/type settings are not correct, WP-Email will NOT function.



Back To WP-EMail Documentation

Last modified 12 years ago Last modified on 03/30/06 11:28:50