• I’m not sure WHY it’s doing this but this is my code for my document gallery (plugin) list items before, and after wp-statistics. It’s adding in line breaks to output from a completely unrelated plugin.

    <div class="document-icon">
          <a href="https://oururl/sams/wp-content/uploads/sites/16/2017/11/Advanced-Search-Grantor.pdf" class="mtli_attachment mtli_pdf" target="_blank" data-wpel-link="internal">
             <img src="https://oururl/sams/wp-content/plugins/document-gallery/assets/icons/pdf.png" title="Advanced Search (Grantor)" alt="Advanced Search (Grantor)" data-ext="pdf"/>
             <span class="title">Advanced Search (Grantor)</span>
          </a>
       </div>
    <div class="document-icon">
          <a href="https://oururl/sams/wp-content/uploads/sites/16/2017/11/Advanced-Search-Grantor.pdf" class="mtli_attachment mtli_pdf" target="_blank" data-wpel-link="internal"><br />
             <img src="https://oururl/sams/wp-content/plugins/document-gallery/assets/icons/pdf.png" title="Advanced Search (Grantor)" alt="Advanced Search (Grantor)" data-ext="pdf"/><br />
             <span class="title">Advanced Search (Grantor)</span><br />
          </a>
       </div>
    • This topic was modified 6 years, 7 months ago by lady_minx.
  • The topic ‘Adding line breaks to my document gallery code’ is closed to new replies.