[Plugin: NextGEN Gallery] Nextgen Gallery adds false paragraph and break elements
-
A few weeks ago I added a page in WordPress which only has one statement:
[nggallery id=16 template=special]
I also installed “NextGEN Gallery Custom Fields” to add some extra information to the gallery images. The extra information from the custom fields is properly formatted in a special template (php).
Till recently the gallery was shown properly. However, today I noticed that the gallery rows are much higher than they used to be. Also the distance between the image and the custom fields below the image has become much larger.
I checked the source code and found out that there are several paragraph and break elements added. Strangely enouugh these elements were not added by myself and are not part of my special template file.
The following paragraph and break elements were (suddenly?) added to the source code below:
1. <p> <!-- Thumbnails --></p> after <div class="ngg-galleryoverview" id="ngg-gallery-16-156"> 2. <br /> after <a href="xxx" title="Mercedes SL 500" > 3. <br /> each time after <img> element 4. </p> each time before </div> 5. <p> <!-- Pagination --></p> before <div class="ngg-clear"> Note <br /> before € is correct.
Why does this (suddenly) happen and how can this be solved?
My source code:
<div class="entry-content"> <div class="ngg-galleryoverview" id="ngg-gallery-16-156"> <p> <!-- Thumbnails --></p> <div id="ngg-image-60" class="ngg-gallery-thumbnail-box" > <div class="ngg-gallery-thumbnail" > <a href="xxx" title="Mercedes SL 500" ><br /> <img title="Mercedes SL 500" alt="Mercedes SL 500" src="xxx" width="180" height="120" /><br /> </a><br /> <span><a href="xxx">Mercedes SL 500<br />€130.000</a></span> </div> </p></div> <div id="ngg-image-58" class="ngg-gallery-thumbnail-box" > <div class="ngg-gallery-thumbnail" > <a href="xxx" title="BMW Gran Coupe 650i" ><br /> <img title="BMW Gran Coupe 650i" alt="BMW Gran Coupe 650i" src="xxx" width="180" height="120" /><br /> </a><br /> <span><a href="xxx">BMW Gran Coupe 650i<br />€140.000</a></span> </div> </p></div> <div id="ngg-image-59" class="ngg-gallery-thumbnail-box" > <div class="ngg-gallery-thumbnail" > <a href="xxx" title="Mercedes 230CE (W124)" ><br /> <img title="Mercedes 230CE (W124)" alt="Mercedes 230CE (W124)" src="xxx" width="180" height="120" /><br /> </a><br /> <span><a href="xxx">Mercedes 230CE (W124)<br />€15.000</a></span> </div> </p></div> <p> <!-- Pagination --></p> <div class="ngg-clear"></div> </div>
https://www.ads-software.com/extend/plugins/nextgen-gallery/
- The topic ‘[Plugin: NextGEN Gallery] Nextgen Gallery adds false paragraph and break elements’ is closed to new replies.