説明
This plugin improves the gallery template by making the following tweaks:
- Puts all the gallery css in a separte file, for easy customisation and faster page load.
- Adds an id attribute to the code, so that two or more galleries can have a different number of columns and still display correctly on the same page.
Links: Plugin News | Author’s Site
インストール
- Unzip “Improved Gallery” archive and put the folder into your “plugins” folder (
/wp-content/plugins/
). - Activate the plugin from the Plugins admin menu.
Advanced Usage
If you want to make it even easier to edit your gallery style, you can do this:
- Copy the styles from ‘gallery-style.css’ into the main ‘style.css’ file in your theme (
wp-content/themes/your-theme
). -
Edit
improved-gallery.php
and delete or comment out this line, like so:// add_action(‘template_redirect’, ‘improved_gallery_stylesheet’);
評価
このプラグインにはレビューがありません。