Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

wordpress how to read jquery

function theme_name_files() {
//utility.jsの読み込み&jQuery読み込み
wp_enqueue_script( 'utlity', get_theme_file_uri('/utility.js') ,array('jquery') ,'',true);
}
add_action( 'wp_enqueue_scripts', 'theme_name_files' );
Source by ichikawa-webdesign.com #
 
PREVIOUS NEXT
Tagged: #wordpress #read #jquery
ADD COMMENT
Topic
Name
6+9 =