I am helping out with a wordpress site for an upcoming marine conference. One of the things I am working on is for an interactive platform page. It uses a combination of css & javascript. I am noticing for each of the div tags I am putting in, it keeps on removing some of the attributes. For example...
I put in:
<div id="booth107"
class="booth booth_20x10bronze"
data-name="Fluval"
data-link="http://www.fluvalaquatics.com/"
data-logo="http://piscespets.com/wp-content/uploads/fluval-logo.jpg"
> </div>
and it comes out:
<div id="booth107" class="booth booth_20x10bronze"> </div>
I am editing in text mode, not visual, and I am not flipping back and forth.
Anyone know why I might be losing some of my div attributes?
Try to add this code in your functions.php to override the messing up html code.