63 lines
1.3 KiB
PHP
63 lines
1.3 KiB
PHP
<?php get_header(); ?>
|
|
|
|
<!-- index categories-->
|
|
|
|
<div id="main" class="maingran">
|
|
<div id="content" class="indexall">
|
|
<!-- la primera caixa és la de títol i descripció de la categoria i pot portar publicitat, no té fons blanc-->
|
|
|
|
<div id="post-<?php the_ID(); ?>" <?php post_class("boxentry ie nofons"); ?>>
|
|
<div class="entry-content">
|
|
<?php echo '<h2 class="box index">';
|
|
echo single_cat_title( '', false ) ; echo '</h2>' ; ?>
|
|
|
|
<?php $category_description = category_description();
|
|
if ( ! empty( $category_description ) ) :
|
|
echo '<div class="descseccio">'. category_description(). '</div>';
|
|
endif;
|
|
?>
|
|
|
|
<p class="textanunci"></p>
|
|
</div><!-- .entry-content -->
|
|
</div><!-- post .hentry -->
|
|
|
|
<?php $catt2 = get_query_var('cat'); ?>
|
|
|
|
<ul>
|
|
|
|
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
|
<?php $tipus = 'catt';
|
|
$category = get_the_category();
|
|
?>
|
|
|
|
<?php include(TEMPLATEPATH . "/caixes.php"); ?>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
</ul>
|
|
|
|
<?php wp_pagenavi(); /* kriesi_pagination();*/?>
|
|
|
|
<?php else: ?>
|
|
|
|
<p class="no-data">
|
|
<?php _e( 'Apologies, but no results were found.', 'hangar' ); ?>
|
|
</p><!-- .no-data -->
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
</div><!-- .content -->
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
<!--end Content-->
|
|
|
|
|
|
</div>
|
|
<!--end Main-->
|
|
|
|
<?php get_footer(); ?>
|