gallery loop
-
Hi all
I’m using the standard WP gallery functionality & would like to modify the WP gallery loop to include the id of each attachment image.
Default:
<img width=”150″ height=”150″ title=”imagetitle” alt=”imagealt” class=”attachment-thumbnail” src=”source-to-image-jpg”>
Would like add the image id:
<img width=”150″ height=”150″ title=”imagetitle” alt=”imagealt” id=”#id” class=”attachment-thumbnail” src=”source-to-image-jpg”>
Is there a filter which a person can use for this or any other code to achieve this?
Regards
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘gallery loop’ is closed to new replies.