Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Yes! And FYI, this is the issue/solution for this: http://www.swiftideas.com/forums/topic/jquery-not-properly-included/
David, I just posted the problem (bug in Dante’s code) in my reply above that was marked as spam…
It seems my last reply with the issue/solution was marked as spam for some reason…
Furthermore, if I create an MU plugin with the following code, jQuery is enqueued and everything works as expected:
add_action( 'plugins_loaded', function() { wp_enqueue_script( 'jquery' ); } );
jQuery is not loaded by WordPress unless something enqueues it.
It is loaded and works as expected with Dante 2.62 but once I replace those files with those from 3.3.61, it no longer works. jQuery is nowhere to be found in the source. Only a console full of errors and no working javascript because of it’s absence.
There is no URL as this is currently in local development only. The theme version is the latest, 3.3.61.
I just did another test, however, and installed the theme on a clean WP install. It works as expected. The project where it is not working is being upgraded from an older version of the theme. So, it somehow appears to be caused by upgrading the theme. Perhaps a settings change/missing setting?
I am experiencing this exact same issue. jQuery is definitely not being loaded. Disabled all plugins and the problem still persists. Any ideas?
-
Posted in: We hit Power Elite.