>
Download This Plugin | |
Download Elegant Themes | |
Name | Gallery Shortcode Style to Head |
Version | 2.3 |
Author | Scott Bradford |
Rating | 0 |
Last updated | 2013-03-09 03:40:00 |
Downloads |
7788
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Gallery Shortcode Style to Head plugin added 3 bytes of resources to the Home page and 6 bytes of resources to the sample Post page.
Gallery Shortcode Style to Head plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Gallery Shortcode Style to Head plugin ads no tables to your Wordpress blog database.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 http://trac.wordpress.org/attachment/ticket/6380/6380-style.diff
Special thanks to the original author of this plugin, Matt Martz, http://sivel.net.