Jetpack Mobile Widgets Won't Display
-
I’m already aware of the tips found in http://jetpack.me/support/mobile-theme/ Upon switching the ID name from “sidebar” to “sidebar-1” the widgets not only don’t appear on mobile but they in fact disappear on the desktop version. I’ve hit a brick wall. Anyone know what the solution is? Here’s the relevant code in my functions.php
/* * Register Sidebar and Footer widgetized areas */ function boldr_widgets_init() { register_sidebar( array( 'name' => __( 'Default Sidebar', 'boldr' ), 'id' => 'sidebar', 'description' => '', 'class' => '', 'before_widget' => '<li id="%1$s" class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); register_sidebar( array( 'name' => __( 'Footer', 'boldr' ), 'id' => 'footer-sidebar', 'description' => '', 'class' => '', 'before_widget' => '<li id="%1$s" class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); } add_action( 'widgets_init', 'boldr_widgets_init' );
The topic ‘Jetpack Mobile Widgets Won't Display’ is closed to new replies.