Last active
January 16, 2017 08:10
-
-
Save WPDevHQ/c32f7d36d6b5daffcda4a2b4b343a1a1 to your computer and use it in GitHub Desktop.
Show standard or humburger menu on desktop depending on user selection in customizer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above code would go inside a function callback which should be hooked to
wp_enqueue_scripts
via theadd_action
method. You may need to adjust class .main-navigation and .menu-toggle to match those of your theme.P.S. You still need to take into account of the desktop view version not showing on mobile in the case of the output view being the standard view.