Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Overriding the themes function.php = blank page


technonow
Member

@technonow

“make sure your functions have unique names”

That’s the bit I don’t understand.

I want to create an extra sidebar. The BuddyPress Default functions.php has

register_sidebars( 1,

array(

‘name’ => ‘Sidebar’,

‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,

‘after_widget’ => ‘</div>’,

‘before_title’ => ‘<h3 class=”widgettitle”>’,

‘after_title’ => ‘</h3>’

)

);

In my child theme I want to change the 1 to 2.

I thought I’d still have to call the file in my child theme functions.php

In my child Theme … Is it the functions.php file I have to rename, or is it that I need to change the name “Sidebar” or “Sidebars”

Sorry for being so thick. I’m learning, but still beginning!

Skip to toolbar