WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Matt Martz v2.4

Gallery Shortcode Style to Head

Moves the gallery shortcode styles to the head so it doesn't break XHTML validation; allows disabling or modifying the default gallery styles.

Gallery Shortcode Style to Head

The facts

Rating
5★ from 1
Active installs
100+
Price
Free
Last updated
2 Apr 2015
Added
Aug 2008
Requires WP
3.3
Tested up to
WP 4.1.42
Downloads
11,801

Our analysis

AI-assisted

Gallery Shortcode Style to Head is a WordPress plugin that modifies how gallery shortcode styles are handled in posts. It moves the styles to the head of the page, which helps maintain XHTML validation by preventing styles from being placed in the post content.

The plugin also allows users to disable or modify the default gallery styles, giving more control over the appearance of galleries. This makes it suitable for users who want to manage gallery styles through their template CSS files rather than the default settings.

Best for: This plugin is best for WordPress users who need to ensure XHTML compliance and want more control over gallery styles.

What it does well

  • Moves gallery styles to the head for better XHTML validation
  • Allows modification of default gallery styles
  • Enables disabling of gallery styles entirely

Where it falls short

  • Limited information on features and usability
  • Last updated in April 2015, may not support newer WordPress versions

Verdict

Gallery Shortcode Style to Head offers a specific solution for managing gallery styles, but its age and limited updates may affect its compatibility with newer WordPress versions.

From the developer

Matt Martz's own description of Gallery Shortcode Style to Head, lightly tidied.

Moves the gallery shortcode styles to the head so it doesn’t break XHTML
validation; allows disabling or modifying the default gallery styles.

By default when using the WordPress gallery, the styles are placed into the
post content which breaks XHTML validation. This plugin moves the style into
the head of the page using a look-ahead to determine if the [gallery]
shortcode is used in any posts.

This plugin also gives you the option to modify the default gallery style
CSS or disable the gallery styles entirely (so you can control it from your
template CSS files).

This plugin uses ideas recommended in a patch located at
https://trac.wordpress.org/attachment/ticket/6380/6380-style.diff

Special thanks to
* The original author: Matt Martz, http://sivel.net
* Serbo-Croatian (sr_RS) translation: Borisa Djuraskovic, http://www.webhostinghub.com
* Spanish (es_ES) translation: Ogi Djuraskovic, http://www.webhostinghub.com/

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for photo galleries.

Smart Slider 3

Responsive slider plugin to create sliders in visual editor easily. Build beautiful image slider, layer slider...

Free 800k+ installs 4.9★ (1,123)
Gallery

Gallery

91

FooGallery is a fast, responsive photo gallery and image gallery plugin with 7 gallery layouts, built-in light...

Free 100k+ installs 4.8★ (986)
Firelight Lightbox

Formerly Easy Fancybox. The most popular WordPress lightbox plugin. Simple, fast, and responsive. Opens images...

Free 200k+ installs 4.8★ (355)
Feeds for YouTube

The Feeds for YouTube plugin allows you to display customizable YouTube feeds from any YouTube channel.

Free 100k+ installs 4.9★ (200)