Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Deactivate some plug-ins one-by-one to check whether they’re the culprit.
The slideshow is the only activated plug-in at the moment. I’ve tried deactivating and re-activating it too.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Are you sure this page is supposed to have the slideshow? http://timdonaldson.com/blogtest/photography/
I don’t see it at all or any HTML elements to contain it.
I see the div is set to display:none for the slideshow class.
<p>Here are some sweet pics yo</p>
<ul id="slideshow" class="slideshow" style="display:none;">
<div id="slideshow-wrapper-s71w">
The first thing is to find out why its not displayed.
Lee
Thanks for the input guys.
I started off trying to fix the display:none problem, but then I realised that when I change the theme back to twentytwelve, that div is still set to display:none… even though the slideshow is displayed correctly.
And also, If I look at the page with firefox and delete that ‘display:none’ through firebug, the slideshow is displayed, but without any images or content.
So this is what makes me think it must be a problem with how I call the javascript.
Just been checking the Error Consol in Firefox and I’ve found these 3 relating to jQuery:
Error: jQuery is not defined
Source File: http://timdonaldson.com/blogtest/photography/
Line: 150
Error: jQuery is not defined
Source File: http://timdonaldson.com/blogtest/wp-includes/js/thickbox/thickbox.js?ver=3.1-20111117
Line: 18
Timestamp: 7/08/12 4:28:02 PM
Error: $ is not defined
Source File: http://timdonaldson.com/blogtest/wp-content/themes/reset-theme/_/js/functions.js
Line: 6
I’ve been trying to debug it with this article but having no luck: http://jquerybyexample.blogspot.com/2012/03/various-reasons-and-solutions-of-jquery.html