WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Sidebar widgets not displaying with JetPack Mobile Theme (4 posts)

  1. studio544
    Member
    Posted 8 months ago #

    Hi, I just activated the Jetpack Mobile theme in a client's WordPress site today and noticed that it does not show any of the site's sidebar widgets when viewing the site on a mobile device. I've read other posts about changing the name of the sidebar id to "sidebar-1" in the theme's functions.php file. This did not do anything. Is there a way to make this happen since some of the sidebar widgets on the site are very important to show? Thanks. I am running the Agency child theme by Studio Press.

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

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    Once you change the name of the sidebar as explained here, things should indeed start working properly.

    If that doesn't change anything, could you contact us via this contact form so we can run some more tests with you?

    Thanks!

  3. studio544
    Member
    Posted 8 months ago #

    I tried it again and it still does not work. You can see that I have modified the right sidebar id below as mentioned in your article but nothing in the sidebar appears on the mobile version of the site. Maybe the theme is just not compatible with your plugin?

    For now I will need to revert back to the free mobile version we are using with Duda Mobile as we can't have all missing sidebar features missing from the mobile site.

    /** Register widget areas */
    genesis_register_sidebar( array(
    	'id'			=> 'home-welcome',
    	'name'			=> __( 'Home Welcome', 'agency' ),
    	'description'	=> __( 'This is the welcome section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'home-slider',
    	'name'			=> __( 'Home Slider', 'agency' ),
    	'description'	=> __( 'This is the slider section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'home-left',
    	'name'			=> __( 'Home Left', 'agency' ),
    	'description'	=> __( 'This is the left section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'home-middle',
    	'name'			=> __( 'Home Middle', 'agency' ),
    	'description'	=> __( 'This is the middle section of the homepage.', 'agency' ),
    ) );
    genesis_register_sidebar( array(
    	'id'			=> 'sidebar-1',
    	'name'			=> __( 'Home Right', 'agency' ),
    	'description'	=> __( 'This is the right section of the homepage.', 'agency' ),
    ) );
  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 8 months ago #

    The Agency theme is actually responsive, so you shouldn't need any mobile theme: your existing theme will adapt itself to the width of your readers' device.

    Still, that shouldn't stop you from using a Mobile Theme plugin like Jetpack Mobile Theme.

    When you go to Appearance > Widgets in your dashboard, are there any active widgets in the new "Home Right" widget area you just created?

Reply

You must log in to post.

About this Plugin

About this Topic