' . single_cat_title('', false) . '';
echo category_description();
} elseif (is_tag()) {
echo '
' . single_tag_title('', false) . '
';
} elseif (is_day()) {
echo '' . sprintf(__('Daily Archives: %s', THEME_NS), get_the_date()) . '
';
} elseif (is_month()) {
echo '' . sprintf(__('Monthly Archives: %s', THEME_NS), get_the_date('F Y')) . '
';
} elseif (is_year()) {
echo '' . sprintf(__('Yearly Archives: %s', THEME_NS), get_the_date('Y')) . '
';
} elseif (is_author()) {
the_post();
echo theme_get_avatar(array('id' => get_the_author_meta('user_email')));
echo '' . get_the_author() . '
';
$desc = get_the_author_meta('description');
if ($desc) {
echo '' . $desc . '
';
}
rewind_posts();
} elseif (isset($_GET['paged']) && !empty($_GET['paged'])) {
echo '' . __('Blog Archives', THEME_NS) . '
';
}
theme_post_wrapper(array('content' => theme_ob_get_clean(), 'class' => 'breadcrumbs'));
/* Display navigation to next/previous pages when applicable */
if (theme_get_option('theme_top_posts_navigation')) {
theme_page_navigation();
}
/* Start the Loop */
while (have_posts()) {
the_post();
get_template_part('content', get_post_format());
}
/* Display navigation to next/previous pages when applicable */
if (theme_get_option('theme_bottom_posts_navigation')) {
theme_page_navigation();
}
} else {
theme_404_content();
}
?>