Shortcodes

Revision for “Shortcodes” created on February 15, 2015 @ 14:18:40

Title
Shortcodes
Content
NextCellent comes with a few shortcodes. A list of all shortcodes with display examples is available <a title="Shortcode list" href="http://wpgetready.com/wiki/nextcellent-plugin/common-shortcodes/shortcode-list/">here</a>. <h2>Supported shortcodes</h2> Following shortcodes are supported by NextCellent: <ul> <li><a title="The singlepic Shortcode" href="http://wpgetready.com/wiki/nextcellent-plugin/common-shortcodes/the-singlepic-shortcode/">singlepic</a></li> <li><a title="The nggallery Shortcode" href="http://wpgetready.com/wiki/nextcellent-plugin/common-shortcodes/the-nggallery-shortcode/">nggallery</a></li> <li><a title="The slideshow Shortcode" href="http://wpgetready.com/wiki/nextcellent-plugin/common-shortcodes/the-slideshow-shortcode/">slideshow</a></li> <li>nggalbum</li> <li>imagebrowser</li> <li>nggtags</li> <li>thumb</li> <li>random</li> <li>recent</li> <li>tagcloud</li> </ul> <h2>Using shortcodes</h2> <h3>Parameters and quotes</h3> Notice these shortcodes are the same thing (and work the same): <ul> <li><strong>[[singlepic id=10]] </strong>(accepted way)</li> <li><strong>[[singlepic id='10']] </strong>(better way)</li> <li><strong>[[singlepic id="10"]] </strong>(better way)</li> <li><strong>[[singlepic id="10"/]] </strong>(best way)</li> </ul> It is recommended to enclose parameter values with single ( ' ' ) or double ( " " ) quotes. The '/' closing bracket is optional, but the <strong>closing bracket is highly recommended if you are going to use many shortcodes in the same page / post.</strong> WordPress easily gets confused with the shortcodes, especially if you accidentally left a space between brackets and shortcode names. <h3>Casing with shortcodes</h3> <ul> <li>[Singlepic id="10"] won't work. Shortcode names are case-sensitive. All NextCellent shortcodes are<strong> lower case</strong>.</li> <li>[[singlepic ID="10"]] will work. Parameters are not case-sensitive. It is recommended however to still use lower case.</li> </ul> <h3>Different values are separated by vertical bar</h3> On this wiki, different options are separated by '<strong>|</strong>', for example: <ul> <li>[[singlepic id=123 float='left|right|center']]</li> </ul> This means the <strong>float </strong>parameter can have the following values: <strong>left, right, center</strong> or an <strong>empty</strong> value (float=""). All other values won't have any effect and will be equal to an empty value. Except the <strong>id</strong> parameter, all other parameters are optional. Not adding a parameter is equal to an empty value, and then the default value is used.
Excerpt


OldNewDate CreatedAuthorActions
February 15, 2015 @ 14:18:40 Niko Strijbol
February 15, 2015 @ 14:17:42 [Autosave] Niko Strijbol
February 15, 2015 @ 14:16:04 Niko Strijbol
July 22, 2014 @ 07:51:47 Niko Strijbol
July 19, 2014 @ 15:42:24 Niko Strijbol
July 19, 2014 @ 15:41:54 Niko Strijbol
July 19, 2014 @ 15:40:48 Niko Strijbol
May 22, 2014 @ 15:26:59 Niko Strijbol
May 2, 2014 @ 16:09:09 Niko Strijbol
April 29, 2014 @ 22:22:03 admin
April 29, 2014 @ 22:20:31 [Autosave] admin
April 29, 2014 @ 22:02:26 admin
April 29, 2014 @ 22:01:57 admin
April 29, 2014 @ 18:44:39 admin
April 29, 2014 @ 18:40:42 admin
April 29, 2014 @ 18:27:33 admin
April 29, 2014 @ 18:24:43 admin
April 29, 2014 @ 18:23:52 admin
April 29, 2014 @ 18:16:00 admin
April 29, 2014 @ 18:13:50 admin
April 29, 2014 @ 18:10:40 admin
April 29, 2014 @ 18:09:05 admin
April 29, 2014 @ 17:59:30 admin
April 29, 2014 @ 17:56:37 admin
April 29, 2014 @ 17:52:25 admin
April 29, 2014 @ 17:52:02 admin
April 29, 2014 @ 17:51:05 admin
April 29, 2014 @ 17:50:25 admin
April 29, 2014 @ 17:49:37 admin
April 29, 2014 @ 17:49:03 admin
April 29, 2014 @ 17:38:38 admin
April 29, 2014 @ 17:28:32 admin
April 29, 2014 @ 17:26:42 admin
April 29, 2014 @ 17:26:02 admin
April 29, 2014 @ 16:52:36 admin
April 29, 2014 @ 16:43:51 admin
April 29, 2014 @ 16:41:07 admin