Will dequeueing in child theme functions.php file prevent Google Fonts from loading?

Dequeueing the enqueued style will be sufficient. But you need to be careful to dequeue it after it is enqueued. It is enqueued at the default priority of 10, so make sure that when you hook into wp_enqueue_scripts you do so at a higher/later priority. add_action( ‘wp_enqueue_scripts’, ‘wpse_escutcheon_scripts’, 11 ); function wpse_escutcheon_scripts() { wp_dequeue_style( ‘escutcheon-fonts’ … Read more

Function to disable “href” anchor tags that contain “a data-name” on mobile only

Alright figured it out. As Jacob pointed out, it should go into the script that makes data-name show as a tooltip. So I added the following: if (jQuery(window).width() < 480) { jQuery(this).removeAttr(“href”); } My final code: jQuery(document).on({ mouseenter: function(e) { if (jQuery(window).width() < 480) { jQuery(this).removeAttr(“href”); } setTimeoutConst = setTimeout(function() { tooltip.open(e); }, 200); }, … Read more