Skip to content

kwight.blog

  • Home
  • Presentations
    • Fears
    • Fundamentals of WordPress Theme Development
    • Getting Started With WordPress Theme Development
    • Demystifying the Theme Review Process
  • Menu Item
  • Menu Item

Tag: WordPress

Changing HTML markup for WordPress galleries

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.

Posted on November 13, 2012Categories GeneralTags WordPressLeave a comment on Changing HTML markup for WordPress galleries
Blog at WordPress.com.
  • Follow Following
    • kwight.blog
    • Join 193 other followers
    • Already have a WordPress.com account? Log in now.
    • kwight.blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar