Quantcast
Channel: Topic Tag: mobile | WordPress.org
Viewing all articles
Browse latest Browse all 22090

htph on "[Plugin: Jetpack by WordPress.com] WordPress menu and Jetpack Mobile - showing links"

$
0
0

Hi,

I was wondering how I can make a WordPress menu consisting of links (and no Pages or Categories) show up in the mobile version of the blog served up by Jetpack.

Those links are for the website the blog is associated to (it's a copy of the site's nav bar).

This is in my functions.php file:

function register_my_menu() {
  register_nav_menu('header-menu',__( 'Header Menu' ));
}
add_action( 'init', 'register_my_menu' );

And this is in my header.php file:

<?php wp_nav_menu( array( 'theme_location' => 'header-menu', 'container_class' => 'wrpr_outer_menu', 'menu_class' => 'wrpr_nav_menu', 'depth' => '2' ) ); ?>

Thanks for any help.

https://wordpress.org/plugins/jetpack/


Viewing all articles
Browse latest Browse all 22090

Trending Articles