jquery function with Atahualpa (Wordpress theme) -
i have 1 jquery function mouse movement (see in action here), , need work atahualpa.
i've put code in g2.js file, , i've uploaded file in atahualpa/js folder.
i'm trying edit functions.php , i've tried 2 basic things:
wp_register_script ( 'g2', get_stylesheet_directory_uri() . '/js/g2.js', array( 'jquery' ), '', true ); wp_enqueue_script ( 'g2' );
and
add_action('g2', get_stylesheet_directory() . '/js/g2.js');
neither 1 won't work. i'm doing wrong...
can please me this?
edit: i've found complete solution works - see here.
solved.
i've found complete solution works - see here.
solved.
Comments
Post a Comment