Hello everybody !
I need to change display order for postheader_postmeta information (I need to have the date first) but ONLY for single post view (not home/blog etc..) so I tried with this following code without success.
// Put date first in postheader
function childtheme_postheader_postmeta() {
if (is_single()) { // only for single post
$mypostmeta = '<div class="entry-meta">';
$mypostmeta .= thematic_postmeta_entrydate();
$mypostmeta .= thematic_postmeta_authorlink();
$mypostmeta .= '<span class="meta-sep meta-sep-entry-date"> | </span>';
$mypostmeta .= thematic_postmeta_editlink();
$mypostmeta .= "</div><!-- .entry-meta -->\n";
return $mypostmeta;
}
} // end childtheme_postheader_postmeta
add_filter('thematic_postheader_postmeta', 'childtheme_postheader_postmeta');
The problem is that the above code works ok when it's a single post, but when it's not the postheader_postmeta info desappears (nothing is displayed) instead of being displayed with the default order.
Could someone be kind to help me ?
thank you !