Ok, so I finished up a theme, but when I installed it I get a blank white screen for the website and for the wordpress dashboard. I read here
http://themeshaper.com/forums/topic/new-custom-child-theme-disrupting-wp-admin#post-7516
about blank spaces in functions.php causing it, so I tried to remove as much empty space as possible. Before I try to reinstall, I was wondering if someone could take a look and tell me if it looks ok now:
<?php
function child_remove_pagetitles() {
// Make changes to the original function
if (is_page()) {
$posttitle = '';
} elseif (is_single()) {
$posttitle = '<h1 class="entry-title">' . get_the_title() . "</h1>\n";
//continue with original function
} elseif (is_404()) {
$posttitle = '<h1 class="entry-title">' . __('Not Found', 'thematic') . "</h1>\n";
} else {
$posttitle = '<h2 class="entry-title"><a href="';
$posttitle .= get_permalink();
$posttitle .= '" title="';
$posttitle .= __('Permalink to ', 'thematic') . the_title_attribute('echo=0');
$posttitle .= '" rel="bookmark">';
$posttitle .= get_the_title();
$posttitle .= "</h2>\n";
}
return $posttitle;
}
add_filter('thematic_postheader_posttitle' ,'child_remove_pagetitles');
?>