Jump to content

Unsubscribe shortcode error


Recommended Posts

Hey there. 

I am trying to manually include the {$unsubscribe} tag in my email wrapper. However, it produces the following HTML that literally gets included in the email sent:

<tr> <td dir='{dir}' valign="top"><img src='https://www.breatheheavy.com/exhale/applications/core/interface/email/spacer.png' width='1' height='1' alt=''></td> <td dir='{dir}' valign='middle' align='center' style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 12px; line-height: 18px; padding-left: 10px;"> <a href="https://www.breatheheavy.com/exhale/index.php?/unsubscribe/&email=breatheheavydotcom@gmail.com&key=534b1f0f184a76b0a9edd0773a531d14" style='color: #4a8aca; text-decoration: none; display: inline-block'> </a>. <br /> </td> </tr>

1035488649_ScreenShot2020-05-22at7_03_19PM.thumb.png.20540f8ea5c8541638fac35367c10ccb.png

Ideally, I want it to create a link with the word 'Unsubscribe' and unsubscribes the user if they click it.

I am sending my emails through SendGrid. They aren't sure what to do either or how to help. 

Any ideas? 🙏 

Link to comment
Share on other sites

  • 4 weeks later...
On 5/24/2020 at 1:19 PM, Morrigan said:

Which template are you editing? Because the unsubscribe button should be included by default with this code:
 


{{if $unsubscribe}}
				{$unsubscribe|raw}
			{{endif}}

 

Hi there, super sorry for the late reply. @Morrigan

I was editing the email wrapper template. I just don't understand how to get it so it uses the SendGrid unsubscribe. 

Currently, the code above that you showed isn't displaying anything. In the attached screen shot, the unsubscribe you link you see is the default one provided by Sendgrid. I want to disable that and manually insert it into my email template so I can center it and include it below the social media icons.

Any idea how I can do that? 

 

Screen Shot 2020-06-18 at 9.56.47 PM.png

Edited by breatheheavy
Link to comment
Share on other sites

  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...