WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Gallery Theme

You will be able to deeply style wordpress galleries using this plugin.

You will be able to deeply style wordpress galleries using this plugin.
You can design your own gallery theme file and place it in your main template folder (only in the root) or plugin's 'themes' folder (wp-content\plugins\gallery-theme\themes).

There is a simple theme file 'gallery-theme-default.php' in the plugin's 'themes' folder. You can use it as an example and try to design your own theme files.
Remember when you install this plugin all of your wordpress galleries will use this simple theme instead of the wordpress's internal gallery theme.

You can also have multiply theme files and edit your galleries to use one of those themes.
For example:

*** If you choose your gallery theme file name like this: 'gallery-theme-default.php' and place it in your main template folder (in the root) or plugin's 'themes' folder, wordpress galleries will use this theme as default theme instead of wordpress's internal gallery theme.
*** If you choose your gallery theme file name like this: 'gallery-theme-slider.php' and place it in your main template folder (in the root) or plugin's 'themes' folder, only these kind of galleries will use this theme: [gallery ids="729,732,731,720" theme="slider"].

Please remember: It's better to place all your needed css and javascript files out of your gallery theme file. It's better to place them in your main template's header file.

These are the codes you can use in your gallery theme file (inside the loop):

$image['thumb'] --> getting thumbnail url of the image
$image['medium'] --> getting medium-size url of the image
$image['large'] --> getting large-size url of the image
$image['full'] --> getting full-size url of the image
$image['width'] --> getting full-size image width
$image['height'] --> getting full-size image height
$image['link'] --> getting image page link
$image['title'] --> getting image title
$image['caption'] --> getting image caption
$image['alt'] --> getting image alternative text
$image['description'] --> getting image description
$settings['link'] --> getting link value from gallery settings
$settings['columns'] --> getting columns value from gallery settings
$settings['orderby'] --> getting sorting type from gallery settings

Website Link

Requires: 3.5 or higher
Compatible up to: 3.9.2
Last Updated: 2014-4-17
Downloads: 1,855

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,2,2
100,1,1
100,1,1