As an alternative:
How can I change WP to give me a different Gallery in a post?
Today we have:
<div class='gallery'>
<dl class='gallery-item'>
<dt class='gallery-icon'>
<a href='URL for full image' title='Title for image'><img src="URL for Thumb"
width="150" height="150" class="attachment-thumbnail" alt="" /></a>
</dt>
</dl>
<dl class='gallery-item'>
<dt class='gallery-icon'>
<a href='URL for full image' title='Title for image'><img src="URL for Thumb"
width="150" height="150" class="attachment-thumbnail" alt="" /></a>
</dt>
</dl>
<dl class='gallery-item'>
<dt class='gallery-icon'>
<a href='URL for full image' title='Title for image'><img src="URL for Thumb"
width="150" height="150" class="attachment-thumbnail" alt="" /></a>
</dt>
</dl>
<br style='clear: both;' />
</div>
I want this output:
<div class="gallery">
<ul class="gallery-itens">
<li><img src="URL for full image" alt="Alt for image" title="Title for image"></li>
<li><img src="URL for full image" alt="Alt for image" title="Title for image"></li>
<li><img src="URL for full image" alt="Alt for image" title="Title for image"></li>
<li><img src="URL for full image" alt="Alt for image" title="Title for image"></li>
<li><img src="URL for full image" alt="Alt for image" title="Title for image"></li>
</ul>
</div>
Could you tell me which PHP handles the 2.5 WP gallery? Maybe I could edit it to create the markup I need.
Tks.