Power Up Acabado By Enabling JQuery

by Josh Koop | Last Updated: July 22, 2020
Pro Blogger Income is owned and operated by ProBloggerIncome.com. Pro Blogger Income is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. Pro Blogger Income also participates in affiliate programs with Avantlink, Clickbank, CJ, ShareASale, and other sites. Pro Blogger Income is compensated for referring traffic and business to these companies.

Please Note: This comes with no support from myself or from Income School as it is only a proof that the ability exists to run Acabado while maintaining the speed benefits. Use at your own risk, I don’t have the ability to make updates to this content.

I have spent a decent chunk of time trying to find a more reliable way to ensure the JQuery stays enabled without loading bulky plugins or without editing the theme itself. This is due to plugins causing load issues just to have JQuery for your needs or theme edits which are overwritten when the theme updates occur.

This requires loading a 0 impact plugin which allows you to add code edits and inject them into your WordPress installation. This is my favorite all-time plugin [ Code Snippets ].

Then after you install Code Snippets you will just need to activate it, click on [ Import ] and import the file below. Once imported just click [ Save and Activate ]

If you still experience issues it could be due to the version I loaded in JQuery, if this happens then replace all the code in the snippet with the code below and save and try again.

add_action( 'wp_head', 'wp_jquery_manager_plugin_front_end_scripts2', 99 );

add_action( 'wp_enqueue_scripts', 'wp_jquery_manager_plugin_front_end_scripts', 99 );

function wp_jquery_manager_plugin_front_end_scripts() {

        wp_register_script( 'jquery', false, array( 'jquery-core' ), null, false );
        wp_enqueue_script( 'jquery' );
    }

function js_async_attr_child($tag)
{
    if (is_admin() OR strpos($tag, 'jquery')) {
        return $tag;
    }
    # Add async to all remaining scripts
    return str_replace(' src', ' async defer src', $tag);
}


function wp_jquery_manager_plugin_front_end_scripts2() {
		?>
			<script type="text/javascript" src="/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp"></script>
		<?php
    }
I love technology, I have plenty of technical side experience but never really thought of blogging as a way to earn an income. With everything that has gone on in the last couple years and the instability of the job markets I started to learn how to blog and build affiliate niche sites to add more income channels to give me the chance to break free from the financial chains that bind me and find real freedom!