WordPress

To use the jQuery.mmenu plugin in a WordPress project, include the "wordpress" wrapper .js file and add "wordpress" to the wrappers option.

<head>
   <script src="path/to/jquery.js"></script>
   <script src="path/to/jquery.mmenu.js"></script>
   <script src="path/to/jquery.mmenu.wordpress.js"></script>
   <script>
      $(document).ready(function() {
         $("#my-menu").mmenu({
            wrappers: ["wordpress"]
         });
      });
   </script>

What it does

Using the "wordpress" wrapper will sets the classNames.selected configuration option to the default classname used by WordPress.