I have started a new theme in WordPress 3.0 and if I put anything in functions.php the backend breaks. The site itself works though.
I have tried different things in functions.php so I don't think it is the code.
I am testing the site locally using MAMP, would this affect it?
Any tips would be awesome.
Thanks.
Can you paste a sample of your code.
<?php
add_theme_support( 'post-thumbnails', array( 'post' ) ); // Add it for posts
set_post_thumbnail_size( 174, 135, true ); // 50 pixels wide by 50 pixels tall, hard crop mode
?>
Even if I add something as simple as this, it breaks.
Try removing the closing ?> php tag. WordPress sometimes has a problem with empty lines between closing and opening php tags which can happen if you close at the end of a file.
Removing the closing php tag didn't work. I have narrowed the problem down slightly. The problem existed after installing the 'Page Links To' plugin. I have removed the plugin and can't see any tables it may have created. It is still somehow conflicting with my functions.php file.