Creating photo galleries the WordPress way

There are dozens of plugins for building galleries in WordPress. But did you know that you can have a photo gallery without using a plugin? In this post I’ll show you how to use WordPress’s native gallery system to get a stunning photo gallery for your restaurant website.

Overlooked but not forgotten

WordPress has had a gallery system built-in for a while now (all the way back to version 2.5). But it wasn’t until Version 3.5 that we got a beautiful, simple interface for creating them.

I get a lot of support requests from customers asking how to create them. Most people think they need to use a plugin to add galleries. Or they expect their theme to add them in itself.

That’s not necessary. WordPress’s core gallery platform supports beautiful, simple, stunning photo galleries. Take a look at it in action on my themes Plate Up and The Spot.

Adding galleries to any post

To be fair, the gallery feature is kind of buried. It’s easy to miss if you don’t know it’s there. Let’s do a quick walk-through.

Go ahead and create a new post or page. On the editing screen, click the Add Media button.


At the top left, click the Create Gallery link. Then select the photos you’d like to show and click the Create a new gallery link.


It will show you the selected photos on the bottom so you can scroll around without losing track of what’s been added.

On the next screen, you can set up a bunch of options. You can drag-and-drop the images to re-order them, add captions, set the number of columns and more.


Pay special attention to the Link To option. If you are using one of my themes, select Media File. This will tell the theme to automatically open the full-size images in a lightbox when clicked.

Go ahead and click the Insert Gallery button when you’re ready. Then save the post and take a look. Here’s what it looks like with The Spot.


Not bad. If you set the Link To option to Media File, the images will load in a lightbox.


Since The Spot comes with a full-width page template, we can use that to really give the photos space to shine. Here’s what a 2-column gallery on a full-width page template looks like.


Pretty easy, right?

WordPress’s core photo gallery system doesn’t come with all the bells and whistles offered by some of the plugins. But a theme can integrate with it nicely for great results. And it should offer more than enough for most restaurants.

Call to action box goes here
Need a Plugin to Improve Your Site?
Browse Plugins Now
Add Schema to any Page on Your Site
Add Schema to any Page on Your Site

If you’re looking to boost the SEO for you site, structured data, or schema, is a great way to do it. According to Google, “Structured data is a standardized format for providing information about a page and classifying the page content.” For example, you can use it to tell Google that a page contains FAQs,…

Add Your Business Profile to Your Site with Structured Data
Add Your Business Profile to Your Site with Structured Data

With the Five Star Business Profile and Schema WordPress plugin, you can quickly and easily create your business profile and add it to your site with a simple-to-use shortcode or Gutenberg block. This automatically includes all the relevant structured data, so Google knows exactly what type of organization/business it is and can include the correct…

Modifying the Five Star Restaurant Menu Plugin Using Templates
Modifying the Five Star Restaurant Menu Plugin Using Templates

The template system that exists in the Five Star Restaurant Menu WordPress plugin opens a whole new level of customization for those comfortable working with a bit of code. Everything that displays on the front end of the plugin can be customized by creating your own template files (to modify and/or overwrite the existing templates…

Discover More Posts
Browse Plugins Now