WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Default image gallery - doubling up unordered list (3 posts)

  1. jami1955
    Member
    Posted 3 years ago #

    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

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    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?

  3. jami1955
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic