Hi!
I'm using the new custom post types feature in my site and I'd like to have different post headers depending on the post type. A custom one for the custom post type and the standard one for standard posts.
function childtheme_postheader() {
global $id, $post;
if ($post->post_type == 'custom') {
// custom post header
$custom = get_post_custom($post->ID);
...
$postheader = ...
} else {
// standard thematic post header
$postheader = ...
}
return $postheader;
}
add_filter ('thematic_postheader', 'childtheme_postheader');
Is there a way to call the original thematic_postheader() function inside my customized one? I'd like not to have to paste its whole code in the 'standard thematic post header' section. Am I making any sense?
Thanks in advance