If you want to show images in a gallery for your site, the best way to do it is by using the Gallery Template included in your theme. With this template you’ll have a nice a full-width layout (without a sidebar), which will show your images using the functionality of the Fancybox library.
Currently, we have two ways to use the template:
Through the WordPress gallery functionality (recommended for WordPress 3.5+)
- Create a page and use our Gallery Template.
- When creating or editing that page, use the WordPress gallery functionality. With this method, you will be using the “Add Media” button and the Media Uploader to create a new instance of the
[gallery]
shortcode inside the content of your page.
Uploading images to the page (recommended up to WordPress 3.4.2)
- Create a page and use our Gallery Template.
- Upload the images that you want to that page.
In case you need to remove an image that you added to the gallery with this method, deleting it from the content of the page is not enough. You also need to click the “Add Media” button, filter the images in the Media Library by selecting “Attached to this page”, and then un-check the ones that you don’t want to show.
So, as you see, the problem with this last choice is that it will be difficult to remove images for that gallery, or set an order for them. We strongly recommend the first method, since all you have to do in order to modify your gallery is changing the values of the shortcode. We still support the second method since the [gallery]
shortcode didn’t provide the current flexibility in older versions of WordPress, but if you’re running WordPress 3.5 or higher, the first method will be more suitable for you.