Custom 2.0 template not showing in NextGen Gallery setting selection
-
I tried creating a 2.0 version template from the Legacy Templates Deprecated post but the newly created template is not showing up in the NextGen Gallery setting dropdown menu when I go to select it.
To try to narrow down the problem I created a new local site with Local by Flywheel but still have the problem. The setup: Flywheel 5.9.8+5191, Windows 10, WordPress 5.6, PHP 7.3.5, Installed Nextgen 3.5.0, Classic Editor 1.6, used Twenty Twenty theme. I created 2 galleries and 1 album with a page for each.
Copied
wp-content/plugins/nextgen- gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/default-view.php
to test-view.php in the same folder. Added at line 8 for checking if template is working:
<h3 style="color:blue;">Gallery Test</h3>
In NextGen Gallery / Gallery Settings / Basic Thumbnails / Select View selected test-view.php and checked h3 tag was visible.
Moved file to
wp-content/ngg/modules/photocrati-nextgen_basic_thumbnails/templates/test-view.php
In NextGen Gallery / Gallery Settings / Basic Thumbnails / Select View the file was not in the selection dropdown. Also tried moving it to
wp-content/ngg/modules/photocrati-nextgen_basic_thumbnails/templates/thumbnails/test-view.php
Again in the admin the file was not in the selection dropdown.Moved file back to
wp-content/plugins/nextgen-
gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/templates/thumbnails/test-view.php
where it does show up in the admin dropdown.Is there a setting to enable checking the wp-content/ngg/modules/ path for templates?
- The topic ‘Custom 2.0 template not showing in NextGen Gallery setting selection’ is closed to new replies.