示例#1
0
    ?>
</dd>
			<?php 
}
?>
		</dl>
	</div>
	
	<h2 class="author-posts-title"><?php 
printf(__('Posts by %s', 'arras'), '<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 
arras_render_posts('author=' . get_the_author_meta('ID') . '&paged=' . $paged, arras_get_option('archive_display'));
?>
 
	</div>
	
	<?php 
if (function_exists('wp_pagenavi')) {
    wp_pagenavi();
} else {
    ?>
    	<div class="navigation clearfix">
			<div class="floatleft"><?php 
    next_posts_link(__('&laquo; Older Entries', 'arras'));
    ?>
</div>
			<div class="floatright"><?php 
示例#2
0
        ?>
</h1>
    <?php 
    } else {
        ?>
        <h1 class="archive-title"><?php 
        _e('Archives', 'arras');
        ?>
</h1>
    <?php 
    }
    ?>
    
	<div id="archive-posts">
	<?php 
    arras_render_posts(null, arras_get_option('archive_display'));
    ?>
    
 
	<?php 
    if (function_exists('wp_pagenavi')) {
        wp_pagenavi();
    } else {
        ?>
    	<div class="navigation clearfix">
			<div class="floatleft"><?php 
        next_posts_link(__('Older Entries', 'arras'));
        ?>
</div>
			<div class="floatright"><?php 
        previous_posts_link(__('Newer Entries', 'arras'));
示例#3
0
    ?>

	<?php 
    if (arras_get_option('news_title') != '') {
        ?>
	<h2 class="home-title"><?php 
        _e(arras_get_option('news_title'));
        ?>
</h2>
	<?php 
    }
    ?>

	<div id="archive-posts">
<?php 
    arras_render_posts(null, arras_get_option('default_tapestry') ? arras_get_option('default_tapestry') : 'quick');
    ?>

	    	<div class="navigation clearfix">
				<div class="floatleft"><?php 
    next_posts_link(__('Older Entries', 'arras'));
    ?>
</div>
				<div class="floatright"><?php 
    previous_posts_link(__('Newer Entries', 'arras'));
    ?>
</div>
			</div>
	</div><!-- #archive-posts -->

<?php 
示例#4
0
    ?>
</dd>
			<?php 
}
?>
		</dl>
	</div>

	<h2 class="author-posts-title"><?php 
printf(__('Posts by %s', 'arras'), '<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 
arras_render_posts('author=' . get_the_author_meta('ID') . '&paged=' . $paged, arras_get_option('default_tapestry'));
?>
	</div>

	<div class="navigation group">
		<div class="floatleft"><?php 
next_posts_link(__('&laquo; Older Entries', 'arras'));
?>
</div>
		<div class="floatright"><?php 
previous_posts_link(__('Newer Entries &raquo;', 'arras'));
?>
</div>
	</div>

</div>