Skip to content

Instantly share code, notes, and snippets.

@themeblvd
Created August 3, 2014 20:01
Show Gist options
  • Save themeblvd/81c39d1fb4ff6f06bbf5 to your computer and use it in GitHub Desktop.
Save themeblvd/81c39d1fb4ff6f06bbf5 to your computer and use it in GitHub Desktop.
Disable the new responsive side menu
<?php
/**
* Remove "tb-side-menu" class from main navigation
*/
function my_primary_menu_args( $args ) {
$args['menu_class'] = str_replace( 'tb-side-menu', '', $args['menu_class'] );
$args['menu_class'] = themeblvd_remove_trailing_char( $args['menu_class'] );
return $args;
}
add_filter( 'themeblvd_primary_menu_args', 'my_primary_menu_args' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment