Create a Simple Photo Gallery in WordPress without a Plugin

This is a simple photo gallery
This is a simple photo gallery

The gallery feature in WordPress, allows you to add photos and multiple photo galleries to any WordPress page or post. Best of all, you don’t need a plugin to do it.

There are several ways to do this but the easiest option is to add the following syntax to a text area:

Screen Shot 2013-05-19 at 8.27.04 PM

add this line of code in a text window. Once added, click the icon to edit the gallery then add the images and save.

Additional options include:

Specifying columns:
Screen Shot 2013-05-19 at 8.17.52 PM

 

Specifying size: Values include “thumbnail”, “medium”, “large”, “full”
Screen Shot 2013-05-19 at 8.13.39 PM

 

Here’s an example of the full syntax:

gallery shortcode

 

 

Learn more about Gallery Shortcodes at WordPress.org