×
  • Themes
  • Support
  • Blog
  • Log In
  • Sign Up

NiceThemesNiceThemes

  • Support
  • Themes
  • Log In
  • Sign Up
Menu

Support Articles

Articles and Documentation for your NiceThemes products.

Knowledge Base / Theme Configuration / Using the Gallery template

Using the Gallery template

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+)

  1. Create a page and use our Gallery Template.
  2. 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)

  1. Create a page and use our Gallery Template.
  2. 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.

Theme Configuration

Related Articles

  • Importing demo content
  • Changing the logo of your Theme
  • How to Add Google Analytics Tracking Code
  • Turning Off WordPress Comments
  • Ordering categories
XML Demo Content
If you're looking for the XML demo contents, you can get them here

Categories

  • Installation & Updates
  • Theme Basics
  • Theme Configuration
  • Theme Customization
  • Support
  • FAQs

Documentation

In the documentation you'll find all you need to get started. Select the product from the list to see the documentation.

NiceThemes

  • About
  • Blog
  • Contact

Support

  • Support Center
  • Knowledge Base
  • Support Forums

Products

  • Themes

Join Us On

Curated with lots of    by your friends at NiceThemes™

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server