WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Is It Possible To Change The Menu In The Jetpack Mobile Theme? (9 posts)

  1. IrishDave2012
    Member
    Posted 1 year ago #

    Hey there,

    I am in the process of developing a WordPress site using a Pinterest styled theme. The easiest (and so far, best) solution for making it mobile responsive was to use the Jetpack mobile feature. I subsequently added the "Jetpack Mobile Theme Featured Images" Plugin which has worked extremely well with the featured images on my site. My only problem, and one I can't seem to find an answer for, has to do with the Menu. The prominent menu in my Theme is based around the Categories. But the the Mobile theme uses the Pages on my site as the default Menu. In response I tried creating a Custom Menu (even though my Theme doesn't directly support them), but as I thought, this had no effect.

    I'm just wondering if it's possible to to change the Menu selection in the Mobile Theme, and if it is, if anyone has any experience or insight in doing so.

    The site I'm working on is http://www.Uniquely-Irish.com, and if you need any further details on the situation I would be more than glad to give them.

    Let me thank you in advance for any help that you can give ! !

    David

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks for the report!
    We're aware of the issue, and we're currently working on a fix to allow you to use your custom menus in the Mobile Theme.

    I will post again as soon as we can address the issue.

  3. IrishDave2012
    Member
    Posted 1 year ago #

    Hey Jeremy,

    Thanks so much for the reply! And also for the work you guys do! I believe you also had a part in creating the Featured Image plugin for the Jetpack Mobile Theme. With that plugin installed it's given me the cleanest and best mobile theme I could find anywhere. So a huge thanks for your work!

    I don't want to rush, but I'm just wondering if you guys might have a time frame on the custom menu option for the Mobile Theme?

    Thanks again,

    David

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Unfortunately I don't have an ETA on that feature. I can only recommend that you keep an eye on our News Blog, as we'll post there as soon as we release a new Jetpack update:
    http://jetpack.me/news/

  5. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I wanted to let you know that the problem is now fixed. The fix will be available in the next Jetpack update.

  6. tonyv619
    Member
    Posted 1 year ago #

    @Jeremy Herve is it available? I believe there has been an update since your post a month ago but unless I'm just blind, don't see anywhere where you can add your themes 2nd menu.

    TheLocalMiami.com

  7. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    @tonyv619 The update I was referring to allows you to add a custom menu even if you use a Child Theme.

    Jetpack Mobile Theme doesn't include a second menu location though; you will have to inser an additional menu through a small plugin if you want to add an extra menu to the theme.

  8. tonyv619
    Member
    Posted 1 year ago #

    @Jeremy Herve and what plugin would that be?

  9. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Such plugin doesn't exist, but you can build your own custom menu thanks to the wp_nav_menu function, and hook that menu anywhere into the Minileven theme, like so:

    // Display the menu
    function tweakjp_minileven_menu() {
    	wp_nav_menu( array( 'theme_location' => 'minimenu', 'container_class' => '', 'menu_class' => 'nav-menu' ) );
    }
    add_action( 'wp_mobile_theme_footer', 'tweakjp_minileven_menu' );	
    
    // Register the menu
    register_nav_menu( 'minimenu', __( 'Custom mobile Menu', 'jetpack' ) );

    Note that I haven't tested this code.

    Another solution would be to add a custom menu widget to your sidebar, thus displaying the menu in the sidebar in the mobile theme.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic