Hello everyone,
I am in a big trouble here. I have created a twenty eleven child theme, everything was running good. I wanted to change the size of my header image, make it not as wide as it is by default. Anyways, I came across this article by voodoo: http://voodoopress.com/2011/07/customizing-twentyeleven-lets-start-with-width-and-smaller-header/
Tried to add this to my functions.php in my child theme:
//CUSTOM HEADER SIZE
add_filter( 'twentyeleven_header_image_height', 'voodoo_header_height');
function voodoo_header_height($param) {
return 175;
}
add_filter( 'twentyeleven_header_image_width', 'voodoo_header_width');
function voodoo_header_width($param) {
return 1050;
}
I did change "voodoo_header_height" into "my_website_name_header_height".
It didn't work out. So I tried to start a new functions.php with this piece of code in it instead of the old one.
It messed up (somehow) with my index.php which I even didn't touch. Sorry, I am very new to all this stuff...
Anyways, I cannot load my website now. All I get is this:
Fatal error: Call to undefined function twentyeleven_content_nav() in /home/content/../..../html/wp-content/themes/twentyeleven-child/index.php on line 20
As I understand, this is the line 20:
<?php twentyeleven_content_nav( 'nav-above' ); ?>
My question is what do I need to do to get back to normal?? Please, help!
Thank you in advance for your comments and advices!
Ana