Support » Fixing WordPress » Default image gallery – doubling up unordered list

  • Resolved jami1955

    (@jami1955)


    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='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.

    thanks
    JSC

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems?

    jami1955

    (@jami1955)

    I went with the galleria plug in, instead of trying to integrate the pikachoose slideshow, which gives a lot more options. Galleria works fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Default image gallery – doubling up unordered list’ is closed to new replies.