41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
<?php dt_storage('have_sidebar', true); ?>
|
|
<?php get_header(); ?>
|
|
|
|
<?php get_template_part('top-bg'); ?>
|
|
|
|
<div id="wrapper">
|
|
<?php get_template_part('nav'); ?>
|
|
<div id="content_bg">
|
|
<div id="container">shouldn't be here
|
|
<?php if ( function_exists('yoast_breadcrumb') ) {yoast_breadcrumb('<p id="breadcrumbs">','</p>');} ?>
|
|
<h1 class="pc-h1"><?php if( is_category() || is_tax() ):
|
|
|
|
echo single_cat_title( null, false );
|
|
|
|
endif;
|
|
?></h1>
|
|
|
|
|
|
<div id="hr_container"><div class="hr hr-wide gap-big"></div></div>
|
|
<!-- archive -->
|
|
<?php
|
|
do_action('dt_layout_before_loop', 'index');
|
|
global $wp_query;
|
|
dt_storage( 'post_is_first', 1 );
|
|
if ( have_posts() ) {
|
|
while( have_posts() ) { the_post();
|
|
get_template_part('content', get_post_format() );
|
|
}
|
|
|
|
if( function_exists('wp_pagenavi') ) {
|
|
wp_pagenavi();
|
|
}
|
|
}
|
|
?>
|
|
|
|
</div>
|
|
<?php get_sidebar(); ?>
|
|
<div class="clrfix"> </div>
|
|
</div>
|
|
</div>
|
|
<?php get_footer(); ?>
|