Example #1
0
>#respond">Comments</a></div>
        
	<div class="post-content">
	<div class="blog-author">Posted by: <strong><?php 
    echo user_info($post->author)->name;
    ?>
</strong></div>
        
	<br />
        
	<div style="margin-top:-10px;padding-bottom:2px;" align="left">
	<?php 
    if (user_info($post->author)->ID == 1) {
        echo "<img src='", get_theme_link(), "/img/josh.jpg' title='posted by Josh!' class='alignleft' alt='josh' />";
    } else {
        echo "<img src='", get_theme_link(), "/img/guy.jpg' title='posted by Guy!' class='alignleft' alt='guy' />";
    }
    echo "</div>";
    echo nl2br($post->content);
    ?>
	</div>
</div>

<?php 
}
?>

	<div class="navigation">
		<span class="previous-entries"><?php 
$news->previous_page_link();
?>
Example #2
0
function theme_link()
{
    echo get_theme_link();
}