Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
You need to show us the webpage that has the issue
Oops. Yep sorry here’s the link.
http://rbdimmitt.com/golf-course-wildlife-ii/
There’s a small white dot or “-” where the gallery should be
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Try deactivating all of your plugins to explore whether any could be responsible. If none are, keep all plugins deactivated and switch to the Twenty Fifteen/ Fourteen theme to see whether it could an issue with your theme.
Yep that’s why I posted under Time’s Square theme. Did the debug of deactivating plugins, plus used a different theme.
No issues with plug ins. Working correctly with other themes as well.
Then when I went back to Time’s Square, issue returned. To be clear, I’m using a child of it as well, so I activated just Times Square to be extra sure. Still not working.
The theme is the issue.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
There’s a difference between the jQuery library you’re using and the one that is bundled with WordPress…
Yours: http://rbdimmitt.com/wp-includes/js/jquery/jquery.js?ver=1.11.3
WordPress: https://core.svn.wordpress.org/trunk/wp-includes/js/jquery/jquery.js
Is that the issue?
How do I test if that’s the issue?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Actually no, WordPress 4.4.1 is not at trunk so forget about that above comment.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Fyi jQuery is infact defined after your page has loaded, just not at the time of the issue.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
It’s a problem on the theme’s demo too.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Would you mind testing something by removing some code from your functions.php file?
This is the bit:
if(!(is_admin())) {
function defer_parsing_of_js($url) {
if ( FALSE === strpos( $url, '.js' ) ) {
return $url;
}
return "$url' defer='defer";
}
add_filter( 'clean_url', 'defer_parsing_of_js' , 11, 1 );
}
It should be right at the bottom of the file.
Good catch. That fixed it.
Interesting note, every time I have updated this theme (which I did today), I had to delete something regarding the ‘clean_url” bit every time in order for the site to work.
Thanks a bunch for the help!
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
@faca5, Looks like an issue in your theme.
Theme Author
faca5
(@faca5)
Hello.
Thank you for your report.
Function “clean_url” has been removed from theme.
Please update to Times Square v3.3.
Just updated. Works great!
Thanks