Posted By

nobsambo on 10/24/11


Tagged

register widgets


Versions (?)

register WordPress Widgets


 / Published in: PHP
 

  1. register_sidebar(array(
  2. 'name' => 'topsidebar',
  3. 'id' => 'top-sidebar',
  4. 'description' => 'Widgets in this area will be shown on the header',
  5. 'before_title' => '<h1>',
  6. 'after_title' => '</h1>'
  7. ));

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: crispunk on October 27, 2011

this code is to register a WordPress Sidebar not Widgets

You need to login to post a comment.