function jquerymobile_widgets_init() { register_sidebar(array('name' => 'Sidebar Widgets', 'id' => 'sidebar', 'description' => 'These are widgets for the sidebar.', 'before_widget' => '<div id="%1$s" class="widget %2$s" data-role="collapsible" data-theme="' . jqmobile_get_ui('widget') . '">', 'after_widget' => '</div>', 'before_title' => '<h2>', 'after_title' => '</h2>')); }
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?> " /> <?php if (is_singular()) { wp_enqueue_script('comment-reply'); } ?> <script type="text/javascript"> var ui_widget_content = '<?php echo jqmobile_get_ui('widget_content'); ?> '; var ui_form_comment = '<?php echo jqmobile_get_ui('form_comment'); ?> '; </script> <?php wp_head(); ?> <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?> " type="text/css" /> </head> <body <?php body_class(); ?>