Inline ad causes all body text after the ad to link to the ad's target URL

Posted in: Newspaper
Post count: 76

Hi, I’ve got an interesting one here. When I set an inline ad in the theme panel, it is causing all the body text in the post after the inline ad to also become linked to the advertisement’s target URL. It is happening across browsers i.e. Chrome, and Edge etc.

Here’s an example: https://www.womensgolf.com/splash-bunker-shot

Here’s a picture of the linked text (underlined red) in the article: https://www.dropbox.com/s/jfikk366dut64wn/inline%20advert%20causes%20the%20rest%20of%20the%20text%20to%20become%20linked%20to%20the%20target%20URL.JPG?dl=0

Here’s an image of the ad code in the inline ad box of the theme panel –
https://www.dropbox.com/s/hmdlogfr10b7fci/ad%20code%20in%20inline%20ad%20box.JPG?dl=0

Apart from this problem with the text after the ad being linked, the ad itself is working fine.

I’m not sure what the issue might be. Is my ad code wrong in some way?

Thank you
Richard

  • This topic was modified 7 years by Richard.
  • This topic was modified 7 years by Richard.
Post count: 20688

Hi,

So if you remove the ad code there is no problem? It would be safe to say that it may be the cause of the issue then. Check at the end of the code, seems to be an extra link that is not closed – http://prntscr.com/mk2o2k
But there some more links below that, these appear to be in the post content itself
http://prntscr.com/mk2oqy

Thanks

Post count: 76

Hi Simion

Perfect! I closed the link as you suggested and everything is working correctly. Thank you for taking the time (and for your expertise).

Regards,
Richard

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.