File: //proc/thread-self/cwd/wp-content/themes/theme1429/category.php
<?php get_header(); ?>
<div class="<?php if (of_get_option('blog_sidebar_pos') == "right" ) {echo "line-ver-1";} else {echo "line-ver-2";} ?>">
<div id="content" class="grid_14 <?php if (of_get_option('blog_sidebar_pos') == "right" ) {echo "alpha";} else {echo "omega";} ?> <?php echo of_get_option('blog_sidebar_pos') ?>">
<h2><span><strong><?php printf( __( 'Category Archives: %s' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></strong></span></h2>
<?php echo category_description(); /* displays the category's description from the Wordpress admin */ ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-block">
<div class="post-header">
<strong><?php comments_popup_link('0', '1', '%', 'comments-link', 'x'); ?></strong>
<h4><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></h4>
<?php $post_meta = of_get_option('post_meta'); ?>
<?php if ($post_meta=='true' || $post_meta=='') { ?>
<em>Submitted by <?php the_author_posts_link() ?> on <?php the_time('D, d/m/Y - G:i'); ?></em>
<?php } ?>
</div>
<?php $post_image_size = of_get_option('post_image_size'); ?>
<?php if($post_image_size=='' || $post_image_size=='normal'){ ?>
<?php if(has_post_thumbnail()) {
echo '<figure class="featured-thumbnail"><span class="img-wrap"><a href="'; the_permalink(); echo '">';
echo the_post_thumbnail('big-post-thumbnail');
echo '</a></span></figure>';
}
?>
<?php } else { ?>
<?php if(has_post_thumbnail()) {
echo '<figure class="featured-thumbnail large"><span class="img-wrap clearfix"><span class="f-thumb-wrap"><a href="'; the_permalink(); echo '">';
echo the_post_thumbnail('post-thumbnail-xl');
echo '</a></span></span></figure>';
}
?>
<?php } ?>
<div class="post-content">
<?php $post_excerpt = of_get_option('post_excerpt'); ?>
<?php if ($post_excerpt=='true' || $post_excerpt=='') { ?>
<div class="excerpt"><?php $excerpt = get_the_excerpt(); echo my_string_limit_words($excerpt,59);?></div>
<?php } ?>
</div>
<div class="link"><a href="<?php the_permalink() ?>">more</a></div>
</div>
</article>
<?php endwhile; else: ?>
<div class="no-results">
<p><strong>There has been an error.</strong></p>
<p>We apologize for any inconvenience, please <a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>">return to the home page</a> or use the search form below.</p>
<?php get_search_form(); /* outputs the default Wordpress search form */ ?>
</div><!--noResults-->
<?php endif; ?>
<?php if(function_exists('wp_pagenavi')) : ?>
<?php wp_pagenavi(); ?>
<?php else : ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<nav class="oldernewer">
<div class="older">
<?php next_posts_link('« Older Entries') ?>
</div><!--.older-->
<div class="newer">
<?php previous_posts_link('Newer Entries »') ?>
</div><!--.newer-->
</nav><!--.oldernewer-->
<?php endif; ?>
<?php endif; ?>
<!-- Page navigation -->
</div><!--#content-->
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>