WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Mobile Pack
[resolved] Widgets Not Showing Up (4 posts)

  1. modsuperstar
    Member
    Posted 1 year ago #

    I've got my desktop theme and my mobile theme. I've set it up so that both have a mobile sidebar. The one on the desktop side doesn't actually output a sidebar, it's just being registered. I've added the sidebar to both templates in the functions.php.

    I can select the proper widgets in the mobile widget selector, but they don't actually show up when I view them on my iPhone.

    Anyone know what might be going amiss here? It seems straightforward enough but it just won't work.

    http://wordpress.org/extend/plugins/wordpress-mobile-pack/

  2. modsuperstar
    Member
    Posted 1 year ago #

    Just for the sake of resolving this, I found that I needed to have the sidebars named the same. For my desktop site I'm using the template roots. So I registered my sidebar as roots-mobile on both the desktop and mobile and now the widgets are displaying correctly.

  3. Torrespro
    Member
    Posted 1 year ago #

    Hello, I'm using 2 different themes for the desktop and the mobile version with different sidebars names...where can I change this name to use the same in both themes?

  4. modsuperstar
    Member
    Posted 1 year ago #

    In the functions.php for your main template find where your sidebars are being registered. Usually they're formatted themename-sidebarlocation for their naming convention. In my instance in my main theme I added a sidebar that didn't actually exist in the actual main template, in this case roots-mobile, then registered the same sidebar in the functions.php of my mobile template.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic