Browsing Tag

minjs

how to link a min.js in wordpress …?

add_action( 'wp_enqueue_scripts', 'theme_scripts_styles' ); function theme_scripts_styles() { wp_enqueue_style( 'jquery-1.10.2', get_stylesheet_uri() ); wp_enqueue_script( 'jquery-1.10.2', get_template_directory_uri() . '../../tag/assets/js/jquery-1.10.2.min.js', array(), '1.0', true ); wp_enqueue_style( 'bootstrap', get_stylesheet_uri() ); wp_enqueue_script(

Back to Top 103616 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising