Todd
Forum Replies Created
-
I removed the plugins and swapped out jquery (and jquery-migrate) manually using
wp_deregister_script('jquery');
and
wp_enqueue_script('jquery', 'https://code.jquery.com/jquery-3.4.1.min.js', array(), null, true);It still didn’t work at first, but then I moved the scripts to the footer using the Genesis framework’s
genesis_after_footerhook. I don’t know how, but that seems to have done the trick!Here’s my final code for anyone else who may be using the Genesis framework and having trouble:
add_action( 'wp_enqueue_scripts', 'custom_remove_jquery' ); function custom_remove_jquery() { wp_deregister_script('jquery'); wp_deregister_script('jquery-migrate'); } add_action('genesis_after_footer', 'custom_jquery_in_footer'); function custom_jquery_in_footer() { wp_register_script('jquery', 'https://code.jquery.com/jquery-3.4.1.min.js', array(), null, true); wp_enqueue_script('jquery'); wp_register_script('jquery-migrate', 'https://code.jquery.com/jquery-migrate-3.1.0.min.js', array( 'jquery' ), null, true); wp_enqueue_script('jquery-migrate'); }Thanks for your help.
- This reply was modified 6 years, 7 months ago by Todd.
Thanks for your response.
I can’t figure out a way to do that using the plugins I referenced. This one appears to have the option, but it doesn’t work.
Forum: Plugins
In reply to: [WP Video Lightbox] Adding Plugin disables my homepage sliderForum: Plugins
In reply to: [Olimometer] Page load time & server usage of OlimometerIt sounds like you’re saying that the image creation is what is causing the plugin to take so long to load. If you simply got rid of the dependency on the GD library and created the image using CSS3 then not only would it drastically reduce load time, but it would also be much more flexible. CSS is the way to go.
(See this plugin as an example: Progress Bar)
Forum: Reviews
In reply to: [Digg Digg] Makes my Home Page Super SlowI don’t understand how it’s slowing down the site when it uses Lazy Loading to load the buttons after the rest of the page content has loaded.
Forum: Reviews
In reply to: [Digg Digg] No more supportUmm… There have been no less than 6 plugin updates in the 5 months since you posted this and your post was created only 2 months after it had previously been updated. I’d say the developer is definitely still supporting it!
Forum: Plugins
In reply to: [Twitter Widget Pro] "No Tweets Available"… mostlyI’m also having this issue, except I don’t know if it’s related to Emoji. Any updates, Aaron? Thanks!