-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcategory.php
37 lines (30 loc) · 1.11 KB
/
category.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* @author madars.bitenieks
* @copyright 2012
*/
get_header();
global $col_4, $col_8;
?>
<div class="row">
<div class="col-md-8 <?php echo $col_8; ?> floatleft">
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php twentytwelve_content_nav( 'nav-below' ); ?>
<?php else : ?>
<div id="post-0" class="post no-results not-found">
<h2 class="entry-title"><?php _e( 'Nothing Found', "madza_translate" ); ?></h2>
<div class="entry-content">
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', "madza_translate" ); ?></p>
</div>
</div>
<?php endif; wp_reset_query();
?></div>
<div class="col-md-4 <?php echo $col_4; ?>floatright">
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>