Forums

[resolved] Adding a "send this post to a friend" button at the bottom of a post (10 posts)

  1. aw
    Member
    Posted 6 years ago #

    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?

  2. vkaryl
    Member
    Posted 6 years ago #

    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

  3. aw
    Member
    Posted 6 years ago #

    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?

  4. vkaryl
    Member
    Posted 6 years ago #

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

  5. Mark (podz)
    Support Maven
    Posted 6 years ago #

  6. Lester Chan
    Member
    Posted 6 years ago #

    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.

  7. aw
    Member
    Posted 6 years ago #

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

  8. aw
    Member
    Posted 6 years ago #

    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.

  9. Lester Chan
    Member
    Posted 6 years ago #

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

  10. roro
    Member
    Posted 5 years ago #

    how can I get rid of the image border?

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

Topic Closed

This topic has been closed to new replies.

About this Topic