The default markup for WordPress galleries is a little… odd. If you want to change it, the post_gallery
filter is what you’re looking for; see wp-includes/media.php
around line 671 for the goods.
The default markup for WordPress galleries is a little… odd. If you want to change it, the post_gallery
filter is what you’re looking for; see wp-includes/media.php
around line 671 for the goods.