Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Make the mobile menu open by default in GeneratePress
add_filter( 'generate_navigation_class', 'generate_mobile_menu_toggled');
function generate_mobile_menu_toggled( $classes )
{
$classes[] = 'toggled';
return $classes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment