예제 #1
0
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

	<h1><?php 
        printf(__('Posts by: <a href="%s">%s</a>', 'carrington-jam'), get_author_posts_url(get_the_author_meta('id')), get_the_author_meta('display_name'));
        ?>
</h1>

<?php 
        $bio = get_the_author_meta('description');
        if (!empty($bio)) {
            ?>

		<h2><?php 
            printf(__('About %s', 'carrington-jam'), get_the_author_meta('display_name'));
            ?>
</h2>
	
<?php 
            echo cfct_basic_content_formatting($bio);
        }
        break;
    }
}
rewind_posts();
cfct_loop();
cfct_misc('nav-posts');
get_sidebar();
get_footer();
예제 #2
0
<?php

/**
 * @package anno
 * This file is part of the Annotum theme for WordPress
 * Built on the Carrington theme framework <http://carringtontheme.com>
 *
 * Copyright 2008-2015 Crowd Favorite, Ltd. All rights reserved. <http://crowdfavorite.com>
 * Released under the GPL license
 * http://www.opensource.org/licenses/gpl-license.php
 */
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) {
    die;
}
if (CFCT_DEBUG) {
    cfct_banner(__FILE__);
}
get_header();
?>
<div id="main-body" class="clearfix">
	<?php 
echo '<div id="content">', cfct_loop(), '</div>';
?>
</div><!-- #main-content -->
<div id="main-sidebar" class="clearfix">
	<?php 
get_sidebar();
?>
</div><!-- #main-sidebar -->
<?php 
get_footer();