Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="art-content-layout">
- <div class="art-content-layout-row">
- <div class="art-layout-cell art-content">
- <div class="art-post">
- <div class="art-post-body">
- <div class="art-post-inner art-article">
- <?php ob_start(); ?>
- <h2 class="art-postheader">
- <?php $cat_id = get_query_var('cat');
- $category = get_category($cat_id);?>
- <img src="<?php bloginfo('template_url'); ?>/images/postheadericon.png" width="26" height="25" alt="postheadericon" />
- <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
- <?php echo $category->name ?></br>
- </a>
- </h2>
- <?php $icons = array(); ?>
- <?php if (!is_page()): ?><?php ob_start(); ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
- <div class="art-postheadericons art-metadata-icons">
- </div>
- <?php endif; ?>
- <?php $metadataContent = ob_get_clean(); ?>
- <?php if (trim($metadataContent) != ''): ?>
- <div class="art-postmetadataheader">
- <?php echo $metadataContent; ?>
- </div>
- <?php endif; ?><?php echo '</br>' ?>
- <div class="art-postcontent">
- <!-- article-content -->
- <?php
- $cat_id = get_query_var('cat');
- $category = get_category($cat_id);?>
- <?php echo (do_shortcode('[dpsc_grid_display category="'.$cat_id.'" total="-1" column="3" per_page="12" type="duka" order="DESC"]')); ?>
- <!-- /article-content -->
- </div>
- <div class="cleared"></div>
- <?php $icons = array(); ?>
- <?php if (!is_page()): ?><?php ob_start(); ?><?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && !is_single()): ?><?php ob_start(); ?><?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
- <div class="art-postfootericons art-metadata-icons">
- <?php echo implode(' | ', $icons); ?>
- </div>
- <?php endif; ?>
- </div>
- <div class="cleared"></div>
- </div>
- </div>
- <?php comments_template(); ?>
- </div>
- <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
- </div>
- </div>
- <div class="cleared"></div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement