public
Last active

Mailto Link with Post Title as Subject

  • Download Gist
mailto-subkect-post-title.php
PHP
1
<a href="mailto:YOUR@EMAIL.COM?subject=<?php echo urlencode( get_the_title() ); ?>">LINK TEXT HERE</a>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.