Home › Forums › Back End › Slide and Push Menu in WordPress › Reply To: Slide and Push Menu in WordPress
February 5, 2016 at 3:50 pm
#237753
vvaroczi
Participant
Can someone help me out here
1, added html and ccs
2, uploaded classie.js to my js folder
3, created menu.js from the code from tutorial and uploaded to folder
4, added the below to function.php
add_action( ‘wp_enqueue_scripts’, ‘exmaple_enqueue’ );
function exmaple_enqueue() {
wp_enqueue_script( ‘jquery’ );
wp_enqueue_script( ‘classie’, get_template_directory_uri() . ‘/js/classie.js’, array(), ‘1.0.0’, true );
wp_enqueue_script( ‘menu’, get_template_directory_uri() . ‘/js/menu.js’, array(), ‘1.0.0’, true );
}
No joy :(
Anyone could help me out pls