[Plugin: File Gallery] New templates not recognized and settings ignored
-
Hi,
I’m having problems getting my custom file gallery template to work. I duplicated the default template folder and renamed it to cycle. I then put the following code inside a post:
[gallery include="215,212,213" template="cycle" size="full" link="none" columns="0"]
If I then look up the source code on the page, I can see that the css file is in there with the correct link to the template folder:
wp-content/plugins/file-gallery/templates/cycle/gallery.css?ver=1.6.5.6
However, it does not pick the corresponding gallery.php but uses the one from the default template. It also wont put the correct class to the starttag:
<div id="gallery-1" class="gallery default">
In addition, the name of the new template does not show up in the template dropdown. I tried to deactivate/activate it (with and without use of “Delete all options on deactivation?”), but had no luck so far. I also noticed that if e.g. I use the code
[gallery include="215,212,213"]
it won’t use the settings (for size, link, columns) I’ve made on the settings page but the default ones. So I always have to write all the options in the shortcode to get the desired result.Any idea what’s wrong here?
Thanks!
- The topic ‘[Plugin: File Gallery] New templates not recognized and settings ignored’ is closed to new replies.