Hi everybody,
I'm developing a child theme based on thematic.
In my wordpress 'reading' settings, I have the front page set to a static 'home' page. On the front page, I wish to show the latest blog post (in its entirety, probably without comments). I've hooked into the post header, using the 'thematic_postheader' filter, which is hooked up to the following code:
function bfb_postheader($postheader) {
if( is_page('home'))
{
$postheader = $firstPostContentInHere . $postheader;
}
else
{
$postheader = '' . $postheader;
}
return $postheader;
}
What I want to do is set up the $firstPostContentInHere variable to show the latest post's content (including date it was added etc.) I've tried a few things, but I'm getting strange results, such as things not showing, duplication of content, etc.
If anybody can help me, I'd be truly grateful!