new to this forum & new to wordpress. I have read about Slide and Push menu functionality in http://tympanus.net/codrops/2013/04/17/slide-and-push-menus/

How to implement this on a WordPress site? I mean, I go the HTML, css part but where to place/upload the js part. In short, how I make this working in a WP site.

More details

From that tutorial, I have placed the HTML part in a WP post text editor; placed the CSS part in my sites child-theme style.css file; then uploaded the JavaScript in my themes js folder (../wp-content/themes/MyThemeName/js/menuk.js),

Then placed

add_action( 'wp_enqueue_scripts', 'exmaple_enqueue' );
function exmaple_enqueue() {
  $ss_url = get_stylesheet_directory_uri();
  wp_enqueue_script( 'menuk', "{$ss_url}/js/menuk.js" );
}

But nothing seems to work? Any help will be appreciated.

Thanks

Read more here: how to implement the slide and push menu in wordpress


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: