I'm trying to figure out how to get my post meta to be above the post title except on the front page.
I'm using this code to and it works- but it affects the front page.
// Move meta above title in Post Header
function childtheme_override_postheader() {
global $post;
if ( is_404() || $post->post_type == 'page') {
$postheader = thematic_postheader_postmeta();
} else {
$postheader = thematic_postheader_postmeta() . thematic_postheader_posttitle();
}
echo apply_filters( 'thematic_postheader', $postheader );
}
How would I get the front page back to normal (the title above the post meta)?
I've tried the code below with no success- is this even moving in the right direction? Thanks for any help!
function childtheme_override_postheader() {
global $post;
if ( is_404() || $post->post_type == 'page') {
$postheader = thematic_postheader_postmeta();
} else {
$postheader = thematic_postheader_postmeta() . thematic_postheader_posttitle();
}
if ( is_home()) {
$postheader = thematic_postheader_posttitle();
} else {
$postheader = thematic_postheader_posttitle() . thematic_postheader_postmeta();
}
echo apply_filters( 'thematic_postheader', $postheader );
}