Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php
- $cat_id = get_query_var('cat');
- $category = get_category($cat_id);
- ?>
- <div id="content">
- <div class="padder">
- <div class="page" id="blog-archives">
- <h3 class="pagetitle"><?php echo $category->name ?></h3>
- <?php if ( have_posts() ) : ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="post-content">
- <div class="entry">
- <?php echo (do_shortcode('[dpsc_grid_display category="'.$cat_id.'" total="-1" column="2" per_page="6" type="duka" order="DESC"]')); ?>
- </div>
- </div>
- </div>
- <?php else : ?>
- <h2 class="center"><?php _e( 'Not Found', 'cc' ) ?></h2>
- <?php locate_template( array( 'searchform.php' ), true ) ?>
- <?php endif; ?>
- </div>
- </div><!-- .padder -->
- </div><!-- #content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement