Button theme: build mailto: social link

  • Author
  • #2891277


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


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



    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:(email redacted)?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)

The topic ‘Button theme: build mailto: social link’ is closed to new replies.