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='http://mydomain and post/' title=''><img width="80" height="53" src="http://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.
- The topic ‘Default image gallery – doubling up unordered list’ is closed to new replies.