GetSimple Support Forum
Getting a theme to recognize a plugin - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Getting a theme to recognize a plugin (/showthread.php?tid=7408)



Getting a theme to recognize a plugin - projwest - 2015-07-07

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?


RE: Getting a theme to recognize a plugin - shawn_a - 2015-07-07

This makes no sense. It would only affect themes you have placed custom functions into , like i18n stuff


RE: Getting a theme to recognize a plugin - projwest - 2015-07-07

Maybe I should be more specific -

I am trying the plugin nanoGallery4GS http://get-simple.info/extend/plugin/nanogallery4gs/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?


RE: Getting a theme to recognize a plugin - shawn_a - 2015-07-07

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.


RE: Getting a theme to recognize a plugin - projwest - 2015-07-08

Does not work means the flickr gallery does not appear.


RE: Getting a theme to recognize a plugin - Carlos - 2015-07-08

Looks like an issue with jQuery being loaded twice (by the theme and by the plugin)


RE: Getting a theme to recognize a plugin - Oleg06 - 2015-07-08

if the themes has jQuery, I recommend to remove the line 29 in the file nanoslider.php


RE: Getting a theme to recognize a plugin - projwest - 2015-07-08

Where is that line in nanogallery_getitems.php?


RE: Getting a theme to recognize a plugin - Oleg06 - 2015-07-08

(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);



RE: Getting a theme to recognize a plugin - projwest - 2015-07-09

I commented out line 29 and that did not have an effect.


RE: Getting a theme to recognize a plugin - Oleg06 - 2015-07-10

maybe it makes sense to show the source code of the page?


RE: Getting a theme to recognize a plugin - shawn_a - 2015-07-10

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.