[buddypress-trac] [BuddyPress] #2616: Add a hook to unregister Sidebars in BP-Default from Child Theme functions.php

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Sep 2 10:49:21 UTC 2010


#2616: Add a hook to unregister Sidebars in BP-Default from Child Theme
functions.php
-------------------------+--------------------------------------------------
 Reporter:  Bowromir     |       Owner:                                            
     Type:  enhancement  |      Status:  new                                       
 Priority:  normal       |   Milestone:  1.3                                       
Component:  Core         |    Keywords:  sidebar, register, bp-default, child theme
-------------------------+--------------------------------------------------

Comment(by Bowromir):

 Small typo made.. the first code should be:


 {{{
 /* Register the widget columns */
 register_sidebars(
         array(
                 'name' => 'Sidebar',
                 'before_widget' => '<div id="%1$s" class="widget %2$s">',
                 'after_widget' => '</div>',
                 'before_title' => '<h3 class="widgettitle">',
                 'after_title' => '</h3>'
         )
         add_action( 'widgets_init', 'childtheme_sidebars' );
 );

 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2616#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list