Theme templates
-
I created a template by copying album-compact.php to mytheme/nggallery/album-myname.php and by adding
echo do_shortcode('[album id=1 template=myname]');
to my theme.
After I added something to this template, I was surprised the browser (or any other browser) would not show my changes. It took me a long time of trying to find the problem (was it calling the right template? Emptying cache 20 times? Other interfering files? )
Only after changing some settings in the backend before my changes would show up (any settings like f.e. gallery settings) .
How is this possible? If I change or add html/php to a template, why doesn’t it show up right away?
Where is the ‘delay’?
- The topic ‘Theme templates’ is closed to new replies.