Add Post Gallery Page

Add Post Gallery Page

Post gallery can be shown in widget, post content or on a page, but you must have at least one page with gallery shortcode which is used through out the UPG plugin. It is very important to have this for the user friendly URL.

Follow the steps below:

  1. Login to Admin Dashboard
  2. Click on Page > Add New
  3. Keep any title of your choice
  4. At content area type shortcode as [upg-list]

This page must be assigned or linked on the UPG Settings page. Do update just by saving your permalinks at Dashboard > Settings > Permalinks

Since [upg-list] doesn't have any parameters, it's settings can be changed from UPG Settings. The settings are applied to all the parameters which are not mentioned inside the shortcode.

The way the gallery is displayed may be different if you are placing it on a sidebar with the help of html widgets.

Example: You want to show a post with 1 image per row and total 4 images in the fruits album/category.
The shortcode will be
[upg-list perrow="1" perpage="4" album="fruits"]

Check upg-list shortcode parameters


Leave a Reply

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