Creating a custom template

Revision for “Creating a custom template” created on May 2, 2014 @ 15:21:27

Creating a custom template
NextCellent uses <a title="Templates" href="">templates</a> to display and render images, galleries and albums. You can easily use and extend these templates to make your own template, adapting NextCellent to virtually any theme. Learn how to make your own template below. <h2>Saving the file</h2> Go to your the <strong>view</strong> folder in the NextCellent plugin folder. This is often located here: wp-content/plugins/nextcellent-gallery/view/. Copy the file that you need according to what you want to do. If you just want to slightly alter a existing templates, copy the one you want to alter. If you want to create a totally new one, skip this part. Now make a folder called <strong>nggallery</strong> inside your theme folder. Paste the copied file into this folder, or make a new one. Rename the file to what shortcode you want to use it with, adding the template name. Examples: <ul> <li>With albums: album-template_name.php</li> <li>With galleries: gallery-template_name.php</li> </ul> More information about the names can be found <a title="Templates" href="">here</a>. <h2>The file contents</h2> The template files are simple php files. The file is pretty self-explanatory for those who know a little html/php. A few good guides are available for those who wish: <ul> <li><a href="" target="_blank">CUSTOM NEXTGEN GALLERY TEMPLATES FOR WORDPRESS</a></li> <li><a href="" target="_blank">Creating a custom gallery template for NextGEN Gallery</a></li> <li><a href="" target="_blank">Creating a NextGen Gallery template</a></li> </ul>

OldNewDate CreatedAuthorActions
May 2, 2014 @ 15:21:27 Niko Strijbol
May 2, 2014 @ 15:20:44 Niko Strijbol
May 2, 2014 @ 15:19:27 Niko Strijbol
May 2, 2014 @ 15:19:10 Niko Strijbol
May 2, 2014 @ 15:18:51 Niko Strijbol
May 2, 2014 @ 15:17:09 Niko Strijbol
May 2, 2014 @ 15:15:23 Niko Strijbol
May 2, 2014 @ 15:14:51 Niko Strijbol
May 2, 2014 @ 14:52:18 Niko Strijbol