The default transition effect between slides is a crossover effect (like this example), but the effect in my slider seems to be image fade to white, then white fades to image. Not sure why this is happening.
Here is the code that calls other scripts:
The original solution (at the bottom) worked in a specific plugin situation (with WP Touch).
I think this is the proper one:
I think this is the proper one:
add_action( 'wp_enqueue_scripts', 'wpse_77772_remove_theme_enqueues', 11 );
function wpse_77772_remove_theme_enqueues()
{
if( is_front_page() || is_home() )
{
wp_dequeue_script('hatch_pro_fancybox');
// etc
}
}
**
* Proper way to enqueue scripts and styles
*/
function theme_name_scripts() {
wp_enqueue_style( 'style-name', get_stylesheet_uri() );
wp_enqueue_script( 'script-name', get_template_directory_uri() . '/js/example.js', array(), '1.0.0', true );
}
add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );
No comments:
Post a Comment