Esempio n. 1
0
		<div class="cont">
			<h4><?php 
    the_author_posts_link();
    ?>
</h4>
			<p><?php 
    echo Bw::truncate(get_the_author_meta('description'));
    ?>
</p>
			
			<ul class="author-list">
			<?php 
    $author_list = array('url', 'facebook', 'twitter', 'google_plus');
    foreach ($author_list as $author_item) {
        if (get_the_author_meta($author_item, $author_id)) {
            echo '<li><a href="' . get_the_author_meta($author_item, $author_id) . '" target="_blank">' . __(Bw::humanize($author_item == 'url' ? 'Website' : $author_item), BW_THEME) . '</a></li>';
        }
    }
    ?>
			</ul>
			
		</div>
	</div>
	<?php 
}
?>
	
	<?php 
if (is_single() && Bw::get_option('display_also_like')) {
    ?>
		<?php