Need help? Check out our Support site, then


Button theme: build mailto: social link

  1. tradiciondigital
    Member

    https://wordpress.com/themes/button/

    How to build the custom link so that post title and link are respectively written in email subject and body?

    Thanks.

    The blog I need help with is tradiciondigital.wordpress.com.

  2. You can add additional parameters to the end of the URL, but they won't be able to grab the title and link of specific posts - that's a more than the HTML link can handle :)

    To set a subject and body for the emails, you'd do something like this:

    mailto:youremail@example.com?subject=This is the subject&body=This is the body text you would like to see

    Notice the first item after the email address starts with a ? - after that, they would all start with &.

    You can also add things like CC addresses if needed. Here's a guide with some more examples (these are full html, you only need the part I'v shown you above) https://css-tricks.com/snippets/html/mailto-links/

Topic Closed

This topic has been closed to new replies.

About this Topic