Posted By

kristarella on 03/16/09


Tagged

wordpress thesiswp


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

goddess
girliegeek
mlangfeld
nickreese
joelhaus
naeemnur


Register new sidebar for Thesis


 / Published in: PHP
 

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

  1. register_sidebars(1,
  2. array(
  3. 'name' => 'Sidebar 3',
  4. 'before_widget' => '<li class="widget %2$s" id="%1$s">',
  5. 'after_widget' => '</li>',
  6. 'before_title' => '<h3>',
  7. 'after_title' => '</h3>'
  8. )
  9. );
  10. function extra_sidebar() { ?>
  11. <div id="sidebar_3" class="sidebar">
  12. <ul class="sidebar_list">
  13. <?php thesis_default_widget(3); ?>
  14. </ul>
  15. </div>
  16. <?php }
  17. add_action('thesis_hook_after_sidebars','extra_sidebar');

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: vigneshwaran on March 16, 2009

Hi

You need to login to post a comment.