get_queried_object(); $thisCat = $cat_obj->term_id; $thisCatName = get_cat_name($thisCat); $image_url = ''; $attribs = array("credits" => $options['img-meta-credits'] ); if ($options['category-teaser']) { echo '
'; get_sidebar( 'teaser' ); echo '
'; } else { if (($options['aktiv-platzhalterbilder-indexseiten']==1) && (isset($options['src-default-symbolbild-category']))) { if (isset($options['src-default-symbolbild-category_id']) && ($options['src-default-symbolbild-category_id']>0)) { $image_url_data = wp_get_attachment_image_src( $options['src-default-symbolbild-category_id'], 'full'); $image_url = $image_url_data[0]; $attribs = piratenkleider_get_image_attributs($options['src-default-symbolbild-category_id']); } else { $image_url = $options['src-default-symbolbild-category']; } } } ?>
4)) { if ($options['indexseitenbild-size']==1) { echo '
'; } else { echo '
'; } ?>

1)) { echo '
'.$attribs["credits"].'
'; } ?>
'.__("Current entry", 'piratenkleider').' '; printf( __( 'Category %s', 'piratenkleider' ), '' . single_cat_title( '', false ) . '' ); echo ''; } echo '
'; } $i = 0; $col = 0; $numentries = $options['category-num-article-fullwidth'] + $options['category-num-article-halfwidth']; $col_count = 3; $cols = array(); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $thisquery = '&cat='.$thisCat.'&posts_per_page='.$numentries.'&paged=' . $paged; query_posts( $thisquery ); while (have_posts() && $i<$numentries) : the_post(); $i++; $output = ''; if (( isset($options['category-num-article-fullwidth'])) && ($options['category-num-article-fullwidth']>=$i )) { $output = piratenkleider_post_teaser($options['category-teaser-titleup'],$options['category-teaser-datebox'],$options['category-teaser-dateline'],$options['category-teaser-maxlength'],$options['teaser-thumbnail_fallback'],$options['category-teaser-floating']); } else { $output = piratenkleider_post_teaser($options['category-teaser-titleup-halfwidth'],$options['category-teaser-datebox-halfwidth'],$options['category-teaser-dateline-halfwidth'],$options['category-teaser-maxlength-halfwidth'],$options['teaser-thumbnail_fallback'],$options['category-teaser-floating-halfwidth']); } if (isset($output)) { $cols[$col++] = $output; } endwhile; ?>
4)) && (!($options['category-teaser']))) { echo '

'; printf( __( 'Category %s', 'piratenkleider' ), '' . single_cat_title( '', false ) . '' ); echo '

'; } ?>
$col) { if (( isset($options['category-num-article-fullwidth'])) && ($options['category-num-article-fullwidth']>$key )) { echo $col; } else { if (( isset($options['category-num-article-fullwidth'])) && ($options['category-num-article-fullwidth']==$key ) && ($options['category-num-article-fullwidth']>0) ) { echo '
'; } echo '
' . $col . '
'; $z++; if ($z>2) { $z=1; echo '
'; } } } ?>
max_num_pages > 1 ) : ?>