2019-07-11, 19:09:34
Hope this helps someone . . .
I installed the plugin (which is really good) in a fresh instance of GS and all worked fine. I did this purely for testing purposes to see if it worked straight out of the box so to speak, with no potential for conflicts with other plugins or libraries.
Then I installed the plugin on my own live website and there was an issue with the navigation controls when an image was selected. The controls were missing and the functionality was broken.
So I compared the original source code of the fresh GS install with that of my own site and realised I had the following code appear too early to my header include file.
Some of the styling etc must have been over written by my own css files and or js files.
I also selected the 'remove jquery' option in the gallery settings.
Within my header, I referenced a more recent cdn version of jquery with the script tag as normal.
I also moved the 'get_header' file to the end of the header just before the closing tag </head> and all seems to be fine.
I spent ages going through the docs. I found many different references and pieces of advice and solutions but none seemed relevant to my dilemma.
Maybe someone else has experienced the same issues I have. Hopefully this will help
I haven't as yet experienced any issue by moving the get_header call to the end of the head tag . . . if anyone thinks it will cause a conflict somewhere then please show.
Thanks
I installed the plugin (which is really good) in a fresh instance of GS and all worked fine. I did this purely for testing purposes to see if it worked straight out of the box so to speak, with no potential for conflicts with other plugins or libraries.
Then I installed the plugin on my own live website and there was an issue with the navigation controls when an image was selected. The controls were missing and the functionality was broken.
So I compared the original source code of the fresh GS install with that of my own site and realised I had the following code appear too early to my header include file.
Some of the styling etc must have been over written by my own css files and or js files.
PHP Code:
<?php get_header(); ?>
I also selected the 'remove jquery' option in the gallery settings.
Within my header, I referenced a more recent cdn version of jquery with the script tag as normal.
I also moved the 'get_header' file to the end of the header just before the closing tag </head> and all seems to be fine.
I spent ages going through the docs. I found many different references and pieces of advice and solutions but none seemed relevant to my dilemma.
Maybe someone else has experienced the same issues I have. Hopefully this will help
I haven't as yet experienced any issue by moving the get_header call to the end of the head tag . . . if anyone thinks it will cause a conflict somewhere then please show.
Thanks