WordPress.org

Ready to get started?Download WordPress

Forums

WP-EMail
Proper format to get "custom post types" to work.... aka bbpress etc. (1 post)

  1. leeuniverse
    Member
    Posted 2 years ago #

    Here is the format which includes the email image.

    <?php if(function_exists('wp_email')) { ?><a href="<?php the_permalink()?>?email=1" target="_blank"><img src="http://www.yourwebsite.com/wp-content/plugins/wp-email/images/email_famfamfam.png" /></a> <a href="<?php the_permalink()?>?email=1" target="_blank">Email to Friend</a><?php } ?>

    I also replaced the code per this page:
    http://wordpress.org/support/topic/plugin-wp-email-plugin-not-working-with-custom-post-type?replies=29

    But, I have a feeling it wasn't necessary, since I also did the above for WP-Print and it works without changing any other code like at that link. But, just in case, I've indicated it. See the WP-Print forum also for my instructions.

    http://wordpress.org/extend/plugins/wp-email/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags