Lego2012
12/14/2016 - 2:43 PM

Scripts

Scripts

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

<!-- Below is the code to disable superfish script on your site: -->

//* Disable the superfish script
add_action( 'wp_enqueue_scripts', 'sp_disable_superfish' );
function sp_disable_superfish() {
    wp_deregister_script( 'superfish' );
    wp_deregister_script( 'superfish-args' );
}

<!-- Below is the code to enable superfish script on your site: -->

//* Enable the superfish script
add_filter( 'genesis_superfish_enabled', '__return_true' );