I have a problem that I am having a tough time troubleshooting because I believe WordPress is generating code because of the layout of my anchor and div tags.
If you inspect one of the pets, you can see that there are two links one wrapped around a div that I created and one that is wrapped in a p tag that is duplicated and contains nothing inside the anchor tag.
<li class="box masonry-brick" style="position: absolute; top: 426px; left: 452px; ">
<a href="/mhs/wp-content/plugins/listgrid/petbio.php?id=666" rel="lightbox[Dog]" title="Test Dog" class="cboxElement">
<div style="display: block; " class="da-animate da-slideFromBottom"><span>Test Dog</span></div>
<a href="/mhs/wp-content/plugins/listgrid/petbio.php?id=666" rel="lightbox[Dog]" title="Test Dog" class="cboxElement"> </a>
Now this wouldn't be a problem except that the lightbox now displays double the links for each pet. I would like to fix this the correct way, but even a hack may be helpful. I am already using css to hide the added p tag and it's contents.