Permalink breaking when added to an image/text.
-
Hello all =)
1st thank you for any help with this and btw I am somewhat new to coding =)
I was using the Permalink shortcode for a ‘per post’ HTML email. What I wanted is just to have something say “View The Post” and link to the {PERMALINK}.
My code is (inside a <table> & <tr> of course):
<td align="center" valign="top" bgcolor="#007BC6"> <a href="{PERMALINK}">View The Post</a> </td>
I tried also with an image:
<td align="center" valign="top" bgcolor="#007BC6"> <a href="{PERMALINK}"> <img src="https://linktomyimage.jpg" width="138px" alt="ViewBlogPost"> </a> </td>
But what it does is break right after the 1st quotation mark, shows the full link followed by a quotation and ending bracket showing like this (with the quotation & bracket at end of link):
https://ibm.conres.com/top-5-ways-to-prevent-phishing-attacks.htm"> View The Post
Is there a way to hide the full URL of the {PERMALINK} and just show “View The Post”. I even tried to attach to an image and it breaks in the same way.
Here is image (low quality sry) of the section of the email (1st with text & 2nd with image):
https://www.tslovesdesign.com/BradyURL/VTP.JPG
https://www.tslovesdesign.com/BradyURL/VTP2.JPGDid I do something wrong? Or, can you not hyperlink the {PERMALINK} to text/ an image?
Ty for all your help (hopefully I explained good enough)!
- The topic ‘Permalink breaking when added to an image/text.’ is closed to new replies.