I am trying to remove the Post Title from the About Me Page (ID=2, slug=about).
[INSERT frustrated && standard 'I've tried everything for 2 hours' cliche]
Please, if anyone can see my mistake(s), [DISPLAY down on knees]... please, point it out.
Thank you.
// Create post title
function childtheme_postheader_posttitle() {
if (is_page(2)) {
$posttitle = '';
} elseif ( (is_single() && !(is_page(2))) && (is_page() && !(is_page(2))) ) {
$posttitle = '<h1 class="entry-title">' . get_the_title() . "</h1>\n";
} 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";
}
add_filter('thematic_postheader_posttitle','childtheme_postheader_posttitle');
} // end thematic_postheader_posttitle