<a href="<?php 
    echo get_author_posts_url($author->id);
    ?>
" rel="bookmark"><?php 
    echo get_avatar($author->id, 120, 'http://workspace.blog.br/wp-content/themes/workspace/images/sem-foto.png');
    ?>
</a>
								<h2><a href="<?php 
    echo get_author_posts_url($author->id);
    ?>
" rel="bookmark"><?php 
    echo $author->display_name;
    ?>
</a></h2>
								<?php 
    workspace_author_links($author->id);
    ?>
								<p><?php 
    echo get_the_author_meta('description', $author->id);
    ?>
</p>
								<span class="meta"><a href="<?php 
    echo get_author_posts_url($author->id);
    ?>
" rel="bookmark"><?php 
    printf(_n('1 post', '%s posts', $total), $total);
    ?>
</a></span>
								<div class="clear"></div>
						</section>
Пример #2
0
        if (!$_i++) {
            ?>
					<section class="author bg-gradiente">
						<?php 
            echo get_avatar(get_the_author_meta('user_email'), 120);
            ?>
						<h2><?php 
            the_author();
            ?>
</h2>
						<p><?php 
            echo get_the_author_meta('description');
            ?>
</p>
						<?php 
            workspace_author_links();
            ?>
						<span class="meta"><?php 
            printf(_n('1 post', '%s posts', get_the_author_posts()), get_the_author_posts());
            ?>
</span>
						<div class="clear"></div>
					</section>
					<?php 
        }
        ?>
					
					<article>
						<div class="thumb">
							<a href="<?php 
        the_permalink();