I've been trying to add unsubscribe and optout functionality to the default "Welcome Message" email template you find under Administer, Header, Footers, and Automated Messages. I don't have HTML experience but using the code in the "Mailing Footer" sample, the documentation, and a wysiwyg editor, I added this in the Body - HTML Format text block of the "Welcome Message":
<p><span style="font-size:14px;"><span style="font- family:arial,helvetica,sans-serif;">To unsubscribe from this newsletter, <a href="{action.unsubscribeUrl}">click here</a>. <br /> To opt out of all future emails from us, <a href="{action.optOutUrl}">click here</a>.</span></span></p>
When I test this and produce the Welcome email, these tokens don't appear as links, only text. I've been researching this all day with no luck. Please help!
I'm on Wordpress 4.7.5 and CiviCRM 4.7.16.