Re: Overriding the themes function.php = blank page
I did say I was thick!
I changed the original functions.php and added two new array under the existing one. One named Sidebar1 that I’d created and one named sidebar2 … when I swopped to child theme my site went blank.
I then created a blank functions.php but just copied the following into it.
array(
‘name’ => ‘Sidebar1’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h3 class=”widgettitle”>’,
‘after_title’ => ‘</h3>’
)
array(
‘name’ => ‘Sidebar2’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h3 class=”widgettitle”>’,
‘after_title’ => ‘</h3>’
)
That didn’t work, but at least the screen didn’t go blank! I know a little knowledge is dangerous, but I’m hoping I can learn by trial and error, so what has this thicko got completely wrong?