Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Is their any other way to add a custom widget in themes as I have already seen a resource WordPress theme widget but I am not getting exactly what to do as I have added the code in functions.php and when I am adding code in sidebar.php to make the widget visible it’s not appearing. Any other method to do this?
function wpblog_widget()
{
    register_sidebar(array(
        'name' => __('Primary Sidebar', 'wpb'),
        'id' => 'primary_sidebar', // unique-sidebar-id
        'description' => '',
        'class' => '',
        'before_widget' => '<li id="%1$s" class="widget %2$s">',
        'after_widget' => '</li>',
        'before_title' => '<h2 class="widgettitle">',
        'after_title' => '</h2>',
    ));
}
add_action('widgets_init', 'wpblog_widget');

Hi Amanda
Thanks for reaching out.
We’re, unfortunately, unable to assist with custom development within our free support scope. We’re a small team with limited resources. We can assist with small custom development questions via our premium support channel. Sorry, I don’t have better news.