If single-galleryfolder.php doen’t exist it takes the single.php.
In your themes folder
– modify the single.php
– or if you need only for the gallery pages, than have a single-galleryfolder.php with the modified content
ps: There is a nice picture in the WordPress codex:
http://codex.wordpress.org/Template_Hierarchy
Hi klihelp. Thanks for your answer.
This is what I’ve done:
1) I’ve created single-gallery.php file.
2) Copied exactly the same code from “single.php” to that file.
The result: the gallery without any thumbnail.
Then I deleted the single-gallery file and everything works fine. How could that be possible? The code is exactly the same in both files…
Thanks!
Mauricio
Get a single-galleryfolder.php copy from the plugin/themes/ directory into your theme directory and modify that one.
See related reply:
http://wordpress.org/support/topic/use-a-page-post-type-for-eazyest-gallery-folders-not-post?replies=5#post-4221746
Sorry but I can’t make it work.
I’ve done what you said, but the plugin’s themes don’t match with the theme I’m using (Magazino), yet I’ve copied single-galleryfolder.php from each theme and none of them work in my theme.
What I find odd is that without a single-galleryfolder.php the gallery works perfectly (in this case, the plugin uses the “single.php” from the theme directory, isn’t it?). Of course I can’t edit single.php because it will affect every entry, and I want to modify just the gallery.
Now, I create the single-galleryfolder.php with the same content of single.php. So this should be the same that not having the single-galleryfolder.php, because their contents are the same. However, the result is everything displayed except for the thumbnails.
I hope you understand what I’m saying.
Many thanks for your time,
Mauricio
In your single-galleryfolder.php just put the important parts together,
eg: everything from single.php and the part which outputs the thumbnails.
The part which outputs the thumbnails should be in single.php too, right?
This is my single.php file: http://pastebin.com/5vSTyvBK
I think that the problem is in line 9 but I don’t know how to solve it.
Thanks for your patience!
Mauricio
Sorry, I can’t make it work. I’ve spent a lot of hours trying…
I can’t understand why the images don’t appear when I copy the SAME code from single.php to simple-galleryfolder.php.
I need help please :S