projects->render_category( $term->term_id ); $page_class = 'project_archive'; } // this is not really used here. maybe for the future? } else { /* If this is a category archive */ if (is_category()) { $output .= '
Inlägg knutna till kategorin:
' ; $output .= '

' . single_cat_title( '', false ) . '

'; $output .= category_description(); /* If this is a tag archive */ } elseif( is_tag() ) { $output .= '

Inlägg taggade med ‘' . single_cat_title( '', false ) . '’

'; /* If this is a daily archive */ } elseif (is_day()) { $output .= '

Arkiv för ' . the_time('F jS, Y') . '

'; /* If this is a monthly archive */ } elseif (is_month()) { $output .= '
Inlägg publicerade i
'; $output .= '

' . get_the_time('F, Y') . '

'; /* If this is a yearly archive */ } elseif (is_year()) { $output .= '

Arkiv för ' . the_time('Y') . '

'; /* If this is an author archive */ } elseif (is_author()) { $output .= '

Författararkiv

'; /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { $output .= 'Arkiv'; } } // if ( $output == '' ) $output .= "Sidan innehåller ingenting."; get_header(); $menu = new stereotype_menu(); echo '
' . $output . $theme->posts->post_archive () . '
' . $menu->html_menu( array ( 'hierarchical' => false, 'top_to_upper' => true, 'location' => 'main_menu', 'thumbnails' => 'thumbnail', 'ul_class' => 'menu', 'li_class' => 'shadow_1' )) . '
'; echo $output; get_footer(); ?>