B2Evolution 'smallhead' Div Source Code

Published by Andrew Hreschak in Web Development, b2evolution 0.9.x, PHP
Published on 09/11/05 @ 06:33:00 pm using 109 words, and has 76733 views

This block of PHP code shows the original 'smallhead' div in a typical b2evo 0.9.x blog skin. It displays the categories, author, post-time, and wordcount of each post. This code is located in the /skins/skinname/_main.php file of a typical b2evo skin, and is shown here for reference purposes in case changes are made which break something in the template:

<div class="bSmallHead">
<?php
$Item->issue_time();
echo '&nbsp; |&nbsp; ', T_('Categories'), ': ';
$Item->categories();
?>
<br />
Posted by: <a href="<?php $Blog->disp( 'blogurl', 'raw' ) ?>?author=<?php the_author_ID() ?>" title="<?php echo T_('Browse all posts by this author') ?>"><?php $Item->Author->prefered_name() ?></a>&nbsp; |&nbsp;
<?php
$Item->wordcount();
echo ' ', T_('words');
?>
</div>

Contemporaneous Auditory Narcotics:
or, What my speakers are currently pumping...
Hallucinogen - Promotheus Process EP

No feedback yet