Default image gallery – doubling up unordered list
-
Hi
I have images attached to a post, and marked as a gallery. When I look at the code that is generating, in each item in the list, there is added an addition unordered list (- </ul). See the code below.
<ul class='gallery-item'> <li class='gallery-icon'> <a href='https://mydomain and post/' title=''><img width="80" height="53" src="https://postimage.jpg" class="attachment-thumbnail" alt="" title="" /></a> </li></ul><ul class='gallery-item'> </ul>
notice the second unwanted
<ul class=’gallery-item’> tacked on before the end list tag. How is that happening, and how can I correct it? The media.php file is responsible for creating this code, but I don’t see where it is going wrong.
thanks
JSC
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Default image gallery – doubling up unordered list’ is closed to new replies.