Exemplo n.º 1
0
        ?>
</h1>
    <?php 
    } else {
        ?>
        <h1 class="archive-title"><?php 
        _e('Blog Archives', 'ar2');
        ?>
</h1>
    <?php 
    }
    ?>
    
	<div id="archive-posts">
	<?php 
    ar2_render_posts(null, array('type' => ar2_get_theme_option('archive_display')), true);
    ?>
	</div><!-- #archive-posts -->
	
<?php 
} else {
    ?>
	<?php 
    ar2_post_notfound();
}
?>

<?php 
ar2_below_content();
?>
</div><!-- #content -->
Exemplo n.º 2
0
if (get_the_author_meta('description') == '') {
    _e('No information is provided by the author.', 'ar2');
} else {
    the_author_meta('description');
}
?>
		</div>
	</div>

</article>

<h2 class="module-title"><?php 
printf(__('Posts by %s', 'ar2'), '<span class="vcard"><a class="url fn n" href="' . get_author_posts_url(get_the_author_meta('ID')) . '" title="' . esc_attr(get_the_author()) . '" rel="me">' . get_the_author_meta('display_name') . '</a></span>');
?>
</h2>

<div id="archive-posts">
<?php 
ar2_render_posts(null, array('type' => ar2_get_theme_option('archive_display'), 'query_args' => array('author' => get_the_author_meta('ID'))), true);
?>
</div><!-- #archive-posts -->


<?php 
ar2_below_content();
?>
</div><!-- #content -->

<?php 
get_sidebar();
get_footer();