Support » Themes and Templates » Adding a “send this post to a friend” button at the bottom of a post

  • Resolved aw

    (@aw)


    I have no clue where it would go — I’m assuming in the post.php file, or what it needs to look like. any help?

Viewing 9 replies - 1 through 9 (of 9 total)
  • vkaryl

    (@vkaryl)

    If you want it in every post, the code for it will have to go within The Loop. This codex entry will get you started: The Loop

    Thread Starter aw

    (@aw)

    I see that it most definitely needs to come near the post meta data in the index php file now, but what about the separate page that needs to be created, linked from the email button, so people can fill out to whom they wish to send the post? would it be a separate php file that I need to create?

    vkaryl

    (@vkaryl)

    I don’t know – I don’t use anything like that, perhaps check with the plugin author?

    Thanks podz =)

    WP-Email 2.03
    http://www.lesterchan.net/others/downloads.php?id=13

    use <?php email_link(); ?> or <?php email_link_image(); ?> to output the link/image in single.php or index.php within the wordpress loop.

    Thread Starter aw

    (@aw)

    Thanks to all, didn’t see all these posts, and in fact while you gracious ones were posting these responses, I was in fact loading up lester’s plug in, which seems to be working like a charm.

    thanks again, I will now close this thread…

    Thread Starter aw

    (@aw)

    i’m re-opening the inquiry if Gamerz is still out there. You’ll probably know a solve for this quick as it’s your plug in:

    Under what circumstances would my wp-admin be telling me that sending the mail was a “success” yet I’m know that it wasn’t received? I believed I corrected the mail settings, at least well enough to get my result from failed to success…

    Secondly, after filling out the form to forward the post and hitting the button to do so, I’m taken to a strange page that an incarnation of my layout. Where should I be looking to tinker with it?

    thanks again.

    aw: I think you posted in my forum right? I have replied to u =)

    how can I get rid of the image border?

    <?php if(function_exists(‘wp_email’)) { email_link_image(); } ?>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Adding a “send this post to a friend” button at the bottom of a post’ is closed to new replies.