Hello,
I have an emergency. My website is broken. I was trying to follow the forum's instructions on how to manage the menus. I copied my functions.php to a text file (for later reference), changed one little thing in my functions.php, and my site went down. I've fixed my broken site before by going to my FTP server and re-uploading the file, but that didn't work this time. In fact, I think I made an even bigger mistake at that point--I tried to replace the Thematic theme functions.php (which is surely a vital file) instead of re-uploading my child theme's functions.php.
I've spent an over an hour trying to figure things out on my own and I am completely stuck. Please, please, please help. I will be forever indebted. I've included as much relevant information as I can.
The error displayed after I experimentally changed this:
// Moving the thematic menu above the header
add_action('thematic_aboveheader','wp_nav_menu');
to this:
add_action('thematic_aboveheader','wp_nav_menu( array( 'theme_location' => 'primary-menu' ) )');
I had figured out how to change the default Thematic menu to the new 3.0 menu, and how to display that menu above the header, but it was displaying the wrong menu. So I tried to specify which menu showed up, but that was a mistake.
I saved my original functions.php and logged into my FTP client. In my haste, I made the mistake of trying to upload that functions.php file to the Thematic files, not to my child theme files. In hindsight, that was probably a terrible mistake. I have since uploaded the latest thematic functions.php file back to the wp-includes folder, but my site still doesn't work
Before I made any changes to my child theme's functions.php today, I copied and pasted the contents into a text file. I have since saved that code as functions.php in dreamweaver and re-uploaded it to my child theme's folder through the FTP client.
After all of that, I STILL receive the following error on my site:
Fatal error: Call to undefined function get_theme_data() in /home/content/48/6128548/html/wp-includes/functions.php on line 6
I backup my blog using the backup technology plugin and I downloaded the latest backup, but it's a .bak file full of code that I don't know what to do with.
Please, I desperately need help. I'm in a panic. I apologize for my stupid mistakes. I wish I hadn't tried to work on my menus to begin with. If you have any ideas that may help, please send them my way!