plugin-icon

Gallery Shortcode Style to Head

제작자: Matt Martz·
Moves the gallery shortcode styles to the head so it doesn't break XHTML validation; allows disabling or modifying the default gallery styles.
등급
5/5
버전
2.4
활성화된 설치 항목
100
최근 업데이트일
Apr 2, 2015

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/

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 4.1.42
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.