Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

wordpress enqueue jquery

add_action('wp_enqueue_scripts', 'my_register_script_method');

function my_register_script_method () {
    wp_register_script( 'jqueryexample', 'https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js');
}
 
PREVIOUS NEXT
Tagged: #wordpress #enqueue #jquery
ADD COMMENT
Topic
Name
7+1 =