'. 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 '
'.get_avatar(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) . '
';
}
art_post_wrapper(array('content' => ob_get_clean(), 'class' => 'breadcrumbs'));
if (art_get_option('art_top_posts_navigation')) {
art_page_navigation();// previous_posts_link | next_posts_link
}
while (have_posts())
{
the_post();
art_post_wrapper(
array(
'id' => art_get_post_id(),
'class' => art_get_post_class(),
'thumbnail' => art_get_post_thumbnail(),
'title' => '
'.get_the_title().'',
'before' => art_get_metadata_icons('edit', 'header'),
'content' => art_get_excerpt(), // 'content' => 'My post content',
'after' => art_get_metadata_icons('category,tag,comments', 'footer')
)
);
}
if (art_get_option('art_bottom_posts_navigation')) {
art_page_navigation();// previous_posts_link | next_posts_link
}
} else {
art_404_content();
}
get_sidebar('bottom');
?>