• Resolved pascaleb

    (@pascaleb)


    Hello,

    I try do declare link with a script but I don’t have nothing in source code of pages.

    This is the code in functions.php :

    function add_custom_scripts() {
    	wp_enqueue_script('jquery');
    	wp_enqueue_script('jquery-ui-core');
    	wp_enqueue_script('jquery-ui-accordion');
    	wp_enqueue_script('jquery-ui-tabs');
    	wp_enqueue_script('mes_scripts', get_stylesheet_directory_uri() . '/js/messcripts.js', array('jquery') );
    }
    
    add_action( 'wp_enqueue_scripts', 'add_custom_scripts' );

    What happends ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to declare tabs and accordion jquery libraries’ is closed to new replies.