Posts: 9
Threads: 2
Joined: Jul 2015
I have noticed that switching to a newer theme will cause come plugins to stop functioning.
Is there tutorial or guide that shows what code is needed to register a plugin to be recognized by a theme?
Posts: 6,266
Threads: 181
Joined: Sep 2011
This makes no sense. It would only affect themes you have placed custom functions into , like i18n stuff
Posts: 9
Threads: 2
Joined: Jul 2015
Maybe I should be more specific -
I am trying the plugin nanoGallery4GS
http://get-simple.info/extend/plugin/nan...ry4gs/630/
Works great with "Innovation", "Cardinal", "greyish", and "Kuusamo"
It does not work with "Bootstrap 3GS", "Lucid", or "Astonish"
What is the difference with the last three themes?
Posts: 6,266
Threads: 181
Joined: Sep 2011
Describe "does not work"
It is possible these themes do not have get_footer()
calls in them, which is pretty much a requirement for themes if they expect plugins to work in them.
Posts: 9
Threads: 2
Joined: Jul 2015
Does not work means the flickr gallery does not appear.
Posts: 3,491
Threads: 106
Joined: Mar 2010
Looks like an issue with jQuery being loaded twice (by the theme and by the plugin)
Posts: 1,928
Threads: 88
Joined: Apr 2010
if the themes has jQuery, I recommend to remove the line 29 in the file nanoslider.php
Posts: 9
Threads: 2
Joined: Jul 2015
Where is that line in nanogallery_getitems.php?
Posts: 1,928
Threads: 88
Joined: Apr 2010
(2015-07-08, 15:38:34)projwest Wrote: Where is that line in nanogallery_getitems.php?
line 29 in nanogallery3.php
Code:
queue_script('jquery', GSFRONT);
Posts: 9
Threads: 2
Joined: Jul 2015
I commented out line 29 and that did not have an effect.
Posts: 1,928
Threads: 88
Joined: Apr 2010
maybe it makes sense to show the source code of the page?
Posts: 6,266
Threads: 181
Joined: Sep 2011
you are going to have to use your browsers debug console(F12) to see errors, and also check gs error log.
see debugging section in wiki.