Mastodon

‘Gallery Shortcode Style to Head’ Version 2.0

Plugin Settings Screen

I just released version 2.0 of the ‘Gallery Shortcode Style to Head‘ plugin for WordPress. This is the first version with any major new features since I took over maintenance of the plugin.

By default, the plugin does the same thing it’s always done: when it’s activated, it moves the WordPress gallery CSS styles out of the body and into the head so it won’t break XHTML validation.

Version 2.0 gives you some additional flexibility though. There are two new options the plugin adds to Settings > Media in your your WordPress admin:

  • First, there’s a check-box that lets you disable the default styles entirely so you can control the gallery styles with your WordPress theme CSS, if you prefer.
  • Second, you can modify the default CSS styles to your liking right there in your WordPress admin.

Hope you like it. As always, contact me if you find any bugs or issues!

Scott Bradford has been putting his opinions on his website since 1995—before most people knew what a website was. He has been a professional web developer in the public- and private-sector for over twenty years. He is an independent constitutional conservative who believes in human rights and limited government, and a Catholic Christian whose beliefs are summarized in the Nicene Creed. He holds a bachelor’s degree in Public Administration from George Mason University. He loves Pink Floyd and can play the bass guitar . . . sort-of. He’s a husband, pet lover, amateur radio operator, and classic AMC/Jeep enthusiast.