Another method for organizing your catalog is to use individual galleries. A gallery is just a collection of catalog items from your CataBlog Library. While galleries have titles and description, for now those values are strictly for organizational purposes in the Admin section. Because galleries have an arbitrary order that is specific to the gallery, you may not use the sort or order functions when displaying them. CataBlog Galleries add the ability to control the specific order of how the catalog items are displayed.
Making a Gallery
Before you can add any catalog items to a gallery, you need to make the gallery first. Simply login to your site's WordPress Admin and go to the CataBlog Galleries Admin Panel, its under the CataBlog section. There you will most likely find an empty list of CataBlog Galleries and a small form on top of the list with a text field to name your new gallery. Click in the text field and type out the name of your first gallery, then click the "Make New Gallery" button or hit return on your keyboard. You just made your first CataBlog Gallery, congratulations.
Add Catalog Items Into A Gallery
Once you have made a gallery, you may add items from your library into that gallery in the CataBlog Library Admin Panel. Go to the main library view and select a few catalog items by checking the checkbox on the left side of their row. Once you have checked all the items you want to add to your gallery, remember you can only check items on one page at a time, go to the bulk actions menu and select "Add to Gallery". A new window will appear on the page and you will be allowed to select which gallery you would like to add there items to. Keep in mind that you have not made a copy of the catalog item, but instead linked those items to the gallery. If you ever delete a catalog item from the library it will be removed from any galleries it is in as well.
If you want to reorder, remove or change your gallery simply go to the CataBlog Galleries Admin Panel and click the name of the gallery you would like to edit. The edit form allows you to rename your gallery and add a brief description, but more importantly it lets you reorder and remove catalog items from your gallery. Simply drag and drop the different catalog items to reorder your gallery. To delete a catalog item from your gallery simply click the red x that appears when you hover over it. Your changes are not finalized until you click the save button, so if you accidentally delete an item don't fret, just reload the page.
[catablog_gallery] Shortcode, used to display your CataBlog Galleries is conveniently displayed in the CataBlog Galleries Admin Panel. Simply click the Shortcode and copy and paste it into any WordPress post or page. If you want to further control how your gallery is displayed add the template attribute to the Shortcode, this will let you render your gallery however you want. You may also use the limit and navigation attribute in the Shortcode, here are some example CataBlog Gallery Shortcodes:
<small>Show CataBlog Gallery with id 65</small> [catablog_gallery id="65"] <br /> <small>Show CataBlog Gallery with gallery template</small> [catablog_gallery id="65" template="gallery"] <br /> <small>Show CataBlog Gallery with pagination and a page limit of 10</small> [catablog_gallery id="65" limit="10"]
Remember, a gallery consists of only links to your catalog items. If you remove a catalog item from your main CataBlog Library it will be removed from all galleries as well.