Shiba

Adventures in WordPress

  • Home
  • Dog
  • Art
  • Contact
  • WordPress Articles
    • WP Plugins
    • WP Programming
    • WP Admin Panels
    • WP Theme Design
    • WP How-To
    • WP Theme Images
You are here: Home / WordPress Design / Who Says WordPress Galleries Should Only Contain Pictures

Who Says WordPress Galleries Should Only Contain Pictures

by ShibaShake 7 Comments

Picture galleries are an important part of a WordPress blog. They allow you to group together pictures, and render them using a variety of compelling scripts.


Siberian Husky smile.

Big Husky and Little Husky.

Shiba Inu and his shoe pillow.

Dog handshake.

Shiba Inu and duck toy.

Shiba and Husky playing in the grass.

Husky puppy on the green, green, grass of home.

Shiba Inu singing for his supper.

Husky puppy playing with a stick.

Shiba Inu smile.


Shiba and Siberian rendered using Noobslide Gallery.

You may display your picture album in a slide-show format, book format, thumbnail format and much more. Depending on your gallery plugin, you can zoom in, scroll, or otherwise navigate through all the pictures on your gallery.

To the right, we display a photo gallery of my dogs using the TinySlideshow javascript and the Shiba Gallery Plugin.

Indeed, WordPress galleries are very powerful and an essential part of any blog.

But who says galleries should only contain pictures?

I started thinking about this after reading this excellent comment and list of suggestions by Keoshi. In it, he pointed me to some interesting pages that rendered a series of galleries together in a thumbnail type format. The pages were somewhat reminiscent of the WordPress native gallery, except instead of showing a series of images/attachments, it showed a series of galleries.

This made me think – should WordPress galleries only contain pictures?

Could galleries also contain posts, pages, other galleries, and pictures? With the new post thumbnail interface introduced in WordPress 2.9, this could be a very powerful addition to a blog.

Why? … The possibilities are endless.

You could render your front-page, category pages, and tag pages in a totally different way, all by just using image gallery display scripts. For example, below, we include a gallery of my most recent blog posts.

  • How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text

  • Migrating Your WordPress Website to Amazon EC2 (AWS)

  • How to Set-Up SFTP on Amazon EC2 (AWS)

  • How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts

  • How to Create a WordPress Website on Amazon EC2 (AWS)

  • How to Make Poll Daddy Objects Mobile Responsive

  • Genesis Skins 1.5

  • Shiba Media Library 3.7

  • How to Expand the WordPress Media Manager Interface

  • Shiba Gallery 4.3

To render this gallery using the Shiba Gallery Plugin, we just use the gallery shortcode below:

[gallery type="tiny2" numberposts="10" recent="1" frame="white" tsize="none"]

We can also render the same gallery using Slimbox, or any other available image gallery script.

[gallery type="slimbox" numberposts="8" recent="1" size="thumbnail" caption="none"]

How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text
Migrating Your WordPress Website to Amazon EC2 (AWS)
How to Set-Up SFTP on Amazon EC2 (AWS)

How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts
How to Create a WordPress Website on Amazon EC2 (AWS)
How to Make Poll Daddy Objects Mobile Responsive

Genesis Skins 1.5
Shiba Media Library 3.7

Most recent blog posts rendered with slimbox.

Below is an example category gallery rendered as a navigation list.


How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text

We modify the WordPress Gutenberg editor so that we can use free-form text blocks as before and combine them with the power of blocks. In this way, we get the new power of Gutenberg blocks without losing [...]

How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts

One of the biggest problems with Gutenberg autop for me is that it messes up my code, WordPress shortcodes, and scripts. Most of my articles were written before Gutenberg, and if I edit any of them using [...]

How to Expand the WordPress Media Manager Interface

This is an advanced tutorial on how to expand the WordPress media manager interface with new options. In particular, I want to expand the drop-down menu in the media manager menu so that I can do searches [...]


Programming category blog posts rendered as a navigation list.

[gallery type="navlist" numberposts="3" category="1" size="(70,70)" orderby="post_date" order="DESC" post_type="post" caption="description"]

This is just the beginning … there is much more that you can do once you open up picture galleries to more than just pictures.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Comments

  1. Liam says

    July 19, 2013 at 7:15 am

    I installed both the Media and Gallery plugins and cannot get any of the galleries to load when I activate the gallery plugin. Any ideas?

    Reply
    • ShibaShake says

      July 23, 2013 at 10:06 am

      My guess is there is a plugin or theme conflict. To debug, I would run it on a test site with one of the default themes, and no other plugins, then turn on the plugins one by one.

      Reply
  2. Mihai says

    May 20, 2012 at 1:10 am

    Hey, very cool plugin. Any idea why i get all my galleries(whether i pick slimbox, popeye, etc) in a very small format?

    Reply
  3. Lee Evans says

    May 22, 2011 at 11:44 am

    We have a few people who would like to enable comments on their photo galleries. It seems to me that this means each photo needs to be a post or could there be a better way to achieve this?

    Essentially the new(ish) Facebook photo viewer is what we’re trying to achieve in the simplest way possible. Any thoughts on this?

    Reply
    • ShibaShake says

      May 27, 2011 at 10:56 am

      Hello Lee,
      That would depend on what photo galleries you are using.

      In general, images/image attachments are already stored as ‘post’ objects within the WordPress database. As such they already have built-in capabilities to support commenting. Some WP themes may not display commenting options for image-attachment objects though. If that is the case, you only need to add commenting into the appropriate theme template.

      Reply
  4. Rocky says

    August 24, 2010 at 10:59 am

    Hello, this is really cool! I’ve installed your Shiba Media Library and Shiba Gallery plugins, on a wordpress 3.0.1 setup. The nativex and noobslide_2 type options don’t work for me. Am I supposed to install some javascript code somewhere to get it to work?

    I have written a plugin to create a Video custom post type to allow metadata to be added along with attached videos and poster images, and generate some video sitemaps from that; now I’m planning on using the Open Video Project code to render those in HTML5 video with flash fallback. I’m wondering how I can extend your gallery plugin to add a type=’video’ option that will render the video using the OVP javascript? I’ll dive into your source code to see how it works, but any tips?

    Reply
    • ShibaShake says

      August 26, 2010 at 8:27 am

      The nativex and noobslide_2 type options don’t work for me. Am I supposed to install some javascript code somewhere to get it to work?

      That is strange. Do the other noobslide options work? Noobslide uses mootools, so it could be a conflict with javascript installed by another plugin.

      I’m wondering how I can extend your gallery plugin to add a type=’video’ option that will render the video using the OVP javascript? I’ll dive into your source code to see how it works, but any tips?

      I should write a tutorial on expanding the plugin but haven’t gotten to it yet. Here is a short description on how to expand gallery types –
      http://shibashake.com/wordpress-theme/super-wordpress-gallery-plugin#comment-1812

      However, the plugin only provides support functions for processing images. For video, it may be easier and cleaner to just build a separate plugin and use a different shortcode.

      Reply

Recent Posts

  • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text
  • Screenshot of the Success, WordPress has been installed page.Migrating Your WordPress Website to Amazon EC2 (AWS)
  • Screenshot of WinSCP for creating a SFTP configuration.How to Set-Up SFTP on Amazon EC2 (AWS)
  • WordPress Gutenberg code view screenshot of this article.How to Prevent Gutenberg Autop from Messing Up Your Code, Shortcodes, and Scripts
  • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS)

Recent Comments

  • Screenshot of the Success, WordPress has been installed page.How to Create a WordPress Website on Amazon EC2 (AWS) (1)
    • Erik
      - Great article. All worked great except for this step:apt install php-mysqlChanging to this fixed it:apt install ...
  • Add Custom Taxonomy Tags to Your WordPress Permalinks (125)
    • Anthony
      - Where does this code go? Like, what exact .php file please?
  • Screenshot of an example article in code view of a modified Gutenberg editor.How to Harness the Power of WordPress Gutenberg Blocks and Combine It with Legacy Free-Form Text (1)
    • tom
      - hi,my experience was like the same, but for me as theme developer the "lazy blocks"(https://wordpress.org/plugins/lazy-blocks/) ...
  • WordPress Custom Taxonomy Input Panels (106)
    • Phil T
      - This is unnecessarily confusing. Why declare a variable with the same name as your taxonomy? Why did you choose a taxonomy ...
  • Create Pop-up Windows in Your WordPress Blog with Thickbox (57)
    • Jim Camomile
      - I have used this tutorial several times and it is one of the few simple and effective ways to add popups with dynamic content, ...

Copyright © 2025 · Genesis Skins by ShibaShake · Terms of Service · Privacy Policy ·