The nggallery Shortcode

Revision for “The nggallery Shortcode” created on May 22, 2014 @ 15:26:00

Title
The nggallery Shortcode
Content
[nggallery id="2"/] This shortcode, along the <a href="http://wpgetready.com/wiki/nextcellent-plugin/common-shortcodes/the-singlepic-shortcode/" target="_blank">singlepic shortcode</a> is one of the most used and, as you quickly will see, very versatile. This is used to display the galleries, which are the main goal and most used feature of this plugin. In its most simple definition the shortcode looks like: <ul> <li>[[nggallery id="2"/]]</li> </ul> <h3>Basic Parameters</h3> This is an example that uses all available options <ul> <li>[[nggallery id="my_gallery_id" template ="my_template_name" images="xxx"/]]</li> </ul> Parameters (except for id, all parameters are optional) <ul> <li><strong>id:</strong> gallery id</li> <li><strong>template: </strong>the template name. For more information, see the <a title="Templates" href="http://wpgetready.com/wiki/nextcellent-plugin/templates/">template</a> documentation. By default NextCellent offers two additional templates: <ul> <li><strong>caption </strong>(uses <strong>gallery-caption.php</strong>): will display the <em>title</em> as a caption</li> <li><strong>carousel </strong>(uses <strong>gallery-carousel.php</strong>): this will display a basic carousel (a large image with the thumbnails beneath).</li> </ul> </li> <li><strong>images:</strong> how many images before pagination is applied</li> </ul> Examples can be found on <a title="Shortcode list" href="http://wpgetready.com/wiki/nextcellent-plugin/common-shortcodes/shortcode-list/">this</a> page. <h3>Global parameters</h3> How the gallery is displayed also depends on a bunch of global parameters. These can be set from NextCellent Control Panel in<strong> Settings -&gt; Gallery</strong>. In no specific order: <ul> <li><strong>Sorting direction</strong>:  the order in which the images are displayed in a gallery. Possibilities are ascending and descending.</li> <li><strong>Show first</strong>: set whether to display a slideshow or a gallery on page load. These modes can be toggled from the page itself, obviously.</li> <li><strong>Images per page:</strong> determines how many thumbnails are shown per page. Zero value disables pagination.</li> </ul>
Excerpt


OldNewDate CreatedAuthorActions
May 22, 2014 @ 15:26:00 Niko Strijbol
May 22, 2014 @ 15:24:21 [Autosave] Niko Strijbol
May 5, 2014 @ 21:21:10 admin
May 5, 2014 @ 21:17:04 admin
May 5, 2014 @ 21:07:12 admin
May 5, 2014 @ 21:06:46 admin
May 5, 2014 @ 21:05:23 admin
May 5, 2014 @ 21:04:51 admin
May 5, 2014 @ 21:04:04 admin
May 5, 2014 @ 21:03:25 admin
May 5, 2014 @ 21:00:07 admin
May 5, 2014 @ 20:59:29 admin
May 5, 2014 @ 20:40:05 admin
May 5, 2014 @ 20:38:35 admin