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.
Considere uma alternativa
Gallery Shortcode Style to Head shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 12 years ago, and scores 32/100 on our health check.
- Base de usuários pequenas (mais de 100 instalações ativas)
- Muito poucos comentários até agora
- Nenhuma atualização em 11 anos
- Only tested up to WordPress 4.1 (latest is 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Gallery Shortcode Style to… stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| css | >100 |
| galeria | >100 |
| Shortcode | >100 |
| style | >100 |
| xhtml | #94 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★ ★★★★★ 5 de 1 comentários
About Gallery Shortcode Style to Head
From the official readme · v2.4Descrição
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/
Instalação
Installation is just like any other WordPress plugin:
- Upload the ‘gallery-shortcode-style-to-head’ folder to the ‘/wp-content/plugins/’ directory.
- Ative o plugin através do menu 'Plugins' em WordPress.
Immediately after installation, your galleries should pass W3C XHTML validation.
You can make further adjustments under Admin > Settings > Media.
Log de Changes
Correct an 'undefined variable' warning/error.
2.4 (2015-03-02):
- Plugin is now translateable.
- Code cleanup and support for latest WordPress.
- Serbo-Croatian (sr_RS) translation by Borisa Djuraskovic, http://www.webhostinghub.com.
- Spanish (es_ES) translation by Ogi Djuraskovic, http://www.webhostinghub.com/.
2.3 (2013-03-08):
- Corrected ‘undefined varibale’ notice and RTL language detection.
- Now requires WordPress 3.0 or higher.
2.2 (2012-12-11):
- Support for WordPress 3.5 and its improved galleries.
2.1 (2011-01-15):
- Removed clearing br tags in galleries (replaced with clearing div tags).
- Corrected bug that threw a cryptic error on the media page for some users.
- Support for WordPress 3.1; now requires WordPress 2.9 or higher.
2.0 (2010-05-02):
- New gallery style settings on the Admin > Settings > Media page.
- Ability to modify the default gallery styles.
- Ability to disable the default styles entirely (so you can style the gallery in your template CSS).
- Support for WordPress 3.0; now requires WordPress 2.7 or higher.
1.3 (2010-02-09):
- Re-Sync with WordPress 2.9 gallery code for support of the new ‘include’ and ‘exclude’ options.
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Gallery Shortcode Style to He… alternatives
All css plugins →FAQ
Gallery Shortcode Style to Head: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Gallery Shortcode Style to Head free?
Yes. Gallery Shortcode Style to Head is free to download and use from the official WordPress.org plugin directory.
Is Gallery Shortcode Style to Head safe to use in 2026?
Gallery Shortcode Style to Head shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites, is rated 5/5 and was last updated 12 years ago, and scores 32/100 on our health check.
How many websites use Gallery Shortcode Style to Head?
Gallery Shortcode Style to Head is active on 100+ WordPress websites and has been downloaded 12,146 times since it launched in August 2008. It was downloaded 158 times in the last 30 days.
Does Gallery Shortcode Style to Head work with WordPress 7.1?
Gallery Shortcode Style to Head is officially tested up to WordPress 4.1.42, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Gallery Shortcode Style to Head last updated?
The latest version, 2.4, was released on April 2, 2015 (12 years ago).
Who makes Gallery Shortcode Style to Head?
Gallery Shortcode Style to Head is developed and maintained by Matt Martz.
What are the best alternatives to Gallery Shortcode Style to Head?
The most popular alternatives to Gallery Shortcode Style to Head are WPCode (3M+ installs), Simple Custom CSS Plugin (100K+ installs) and Blocks Animation: CSS Anima… (90K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito

