Incorrect href on image link
-
1. I’ll specify the Image Link URL:
ex: http://www.somesite.com/subsitename/2014/09/01/the-florida-keys-an-intriguing-arts-destination/2. When I look at the rendered HTML I get two different hrefs, the second oneis a dud link..it adds CPT to the link string:
<div id="5729" class="item next left"> <a href="http://www.somesite.com/subsitename/2014/09/29/first-look-the-art-collection-at-park-hyatt-new-york/"></a> <a title="Title Name" href="http://www.somesite.com/subsitename/cptbc/first-look-the-art-collection-at-park-hyatt-new-york/"> <img class="attachment-full wp-post-image" width="1740" height="1030" alt="serra_2resized" src="http://somesite.com/imagename.jpeg" scale="0"> </a> <div class="carousel-caption">... </div>Is the only workaround to add an html link in the excerpt for now?
Separate issue, but I tried to use the background image option to compensate for this problem. Fixes the linking but the background image does not size appropriately like images.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘Incorrect href on image link’ is closed to new replies.