🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Gallery Shortcode Style to Head icon
Möglicherweise aufgegeben Tested up to 4.1.42 #95 in css

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.

Aktive Installationen100+100+ Stufe
Downloads · 30d158▲ +61.2% vs prev. 30d
Wertung5/51 Bewertungen
Gesundheits-Score32/100In Gefahr
Downloads aller Zeiten12.1KSince Aug 2008
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 3.3PHP ANY
Downloads · 7d53▲ +20,5% Woche über Woche
Unser Urteil

Betrachten Sie eine Alternative

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.

  • Kleine Benutzerbasis (100+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Kein Update in 11 Jahren
  • Only tested up to WordPress 4.1 (latest is 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

4914Sep 5Oct 19Dec 3
Gestern3
Täglicher Durchschnitt (1 Jahr)2
Spitzentag19Dec 2, 2026
Letzte 12 Monate791

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Gallery Shortcode Style to… stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
css >100 10,000 Best css plugins →
Galerie >100 4,945 Beste Galerie-Plugins →
Shortcode >100 10,000 Beste Shortcode-Plugins →
style >100 10,000 Best style plugins →
xhtml #95 242 Best xhtml plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 2.489.6%
  • 2.310.4%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Gallery Shortcode Style to Head

From the official readme · v2.4

Beschreibung

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/

Installation

Installation is just like any other WordPress plugin:

  1. Upload the ‘gallery-shortcode-style-to-head’ folder to the ‘/wp-content/plugins/’ directory.
  2. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress.

Immediately after installation, your galleries should pass W3C XHTML validation.
You can make further adjustments under Admin > Settings > Media.

Änderungsprotokoll

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.

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Plugin settings (under Admin > Settings > Media).
Plugin settings (under Admin > Settings > Media).

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Gallery Shortcode Style to He… alternatives

All css plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Wpcode – Kopf- und Fußzeilen einfügen + benutzerdefinierte Code-Snippets – WordPress Code-Manager WPCode Fügen Sie einfach Code-Snippets in WordPress hinzu. Kopf- und Fußzeilen-Skripte einfügen, PHP-Code hinzufügen… von Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) Vor 24 Stunden 97
2 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ ★★★★★★★★★★ 4.7 (159) Vor 2 Jahren 51
3 Blockiert Animation: CSS-Animationen für Gutenberg Blöcke Blockiert Animation: CSS-Animationen für Gutenberg Blöcke Füge CSS-Animationen hinzu und scrolle Effekte zu einem beliebigen Gutenberg-Block. Wählen Sie aus Fade, Slide, Zoom… von Hardeep Asrani 90K+ ★★★★★★★★★★ 4.8 (73) Vor 3 tagen 90
4 Widget CSS Classes Widget CSS Classes Add custom classes and ids plus first, last, even, odd, and numbered classes to your… by Jory Hogeveen 80K+ ★★★★★★★★★★ 4.9 (74) Vor 2 Jahren 53
5 Simple CSS Simple CSS Add CSS to your website through an admin editor, the Customizer or a metabox for page/post… von Tom 70K+ ★★★★★★★★★★ 4.9 (60) Vor 1 Jahr 57
6 WP Add Custom CSS WP Add Custom CSS Add custom css to the whole website and to specific posts and pages. by Daniele De Santis 60K+ ★★★★★★★★★★ 4.8 (89) Vor 1 Jahr 56
7 Clear Cache for Me Clear Cache for Me Purges cache on WPEngine, W3TC, WP Super Cache, WP Fastest Cache when widgets, menus… by webheadcoder 40K+ ★★★★★★★★★★ 4.8 (29) Vor 6 Monaten 75
8 WP-SCSS WP-SCSS Compiles .scss files to .css and enqueues them. by Connect Think 40K+ ★★★★★★★★★★ 4.3 (62) Vor 1 Monat 84
9 Visual CSS Style Editor Visual CSS Style Editor Customize any theme visually. Live CSS editor for fonts, colors, typography and custom CSS… by YellowPencil 30K+ ★★★★★★★★★★ 4.1 (90) Vor 6 Tagen 87
10 Scripts n Styles Scripts n Styles This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript… by WraithKenny 30K+ ★★★★★★★★★★ 4.4 (30) Vor 3 Jahren 45

Fragen und Antworten

Gallery Shortcode Style to Head: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: 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).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen