For some strange reason, adding a link in a post breaks layout (3 posts)

  1. Kargo
    Posted 5 years ago #

    Hey guys, a strange thing has recently occurred on my site, problem is I'm not sure how long it could have been happening as ive just realised it now.

    Whenever a link is added to a post it seems break the layout of single.php. Im not sure if its something to do with the code of the single.php file so ive included it at the link below. perhaps someone would be kind enough to look at it and maybe find a solution.


    Here's an example of what I mean:

    Here's a post with a link included (added using wordpress's add link button)

    and here's a post without a link added which displays perfectly fine:

    If someone is able to help, it would be very much appreciated.

    Thanks :)

  2. Digital Raindrops
    Posted 5 years ago #

    Validation Errors in the HTML are the likely cause:

    First Link Validation
    Second Link Validation

    You are you using W3 Total Cache plugin for Minify, the line breaks are removed which makes it to hard to look at the structure and errors!



  3. Kargo
    Posted 5 years ago #

    Thank you for the reply and information. Any ideas what I could do to fix this? Is W3 Total Cache for Minify not a good idea to use?



Topic Closed

This topic has been closed to new replies.

About this Topic