Return to Snippet

Revision: 12483
at March 16, 2009 18:05 by kristarella


Initial Code
register_sidebars(1,
    array(
        'name' => 'Sidebar 3',
        'before_widget' => '<li class="widget %2$s" id="%1$s">',
        'after_widget' => '</li>',
        'before_title' => '<h3>',
        'after_title' => '</h3>'
    )
);
function extra_sidebar() { ?>
<div id="sidebar_3" class="sidebar">
<ul class="sidebar_list">
<?php thesis_default_widget(3); ?>
</ul>
</div>
<?php }
add_action('thesis_hook_after_sidebars','extra_sidebar');

Initial URL
http://diythemes.com/forums/thesis-customization/3300-custom-sidebars-different-sidebars-no-sidebars-2.html#post21587

Initial Description

                                

Initial Title
Register new sidebar for Thesis

Initial Tags
wordpress

Initial Language
PHP