";
?>
post_name .'">Post Meta
';
echo '';
echo '
';
echo '- ';
echo the_time($date);
echo '
- ';
echo the_category(', ');
echo '
- ';
echo the_tags('',', ','');
echo '
- ';
echo the_author_posts_link();
echo '
- ';
echo wordcount();
echo ' Words
';
echo '
';
echo '
';
}
function wordcount() {
$words = get_the_content('', 0, '');
if ($words) {
$post = strip_tags($words);
$post = explode(' ', $post);
$totalcount = count($post);
} else {
$totalcount = 0;
}
echo $totalcount;
}
?>