category.php aparece todas as categorias em vez da selecionada
Bom dia pessoal, é o seguinte no meu template estou com um problema que é assim, criei a página category.php para chamar as categorias certo! mais invés de aparecer apenas a categoria clicada ela mostra todas as categorias estranho não? Segue abaixo o código da category.php. Favor me indique o erro que não estou vendo :natallaugh:
<div class="categoria">
<div class="container">
<div class="row">
<ul class="thumbnails">
<?php query_posts('orderby=DESC'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li class="span3">
<a href="<?php the_permalink(); ?>" class="thumbnail inner-border">
<span></span>
<?php the_post_thumbnail(array(259,165));?>
</a>
<h5 class="text-info"><a href="<?php the_permalink(); ?>"><?php limita_titulo_category(); ?></a></h5>
<h6>R$ <?php the_field('valor_do_imovel'); ?></h6>
<a href="<?php the_permalink(); ?>">
<div class="ver-detalhes">
<div align="center">
<h5>Ver Detalhes do Imóvel</h5>
</div>
</div><!--FIM VER DETALHES-->
</a>
</li>
<?php endwhile?>
<p>não existe categoria</p>
<?php endif; ?>
</ul>
</div><!--FIM ROW CATEGORIA-->
</div><!--FIM CONATINER CATEGORIA-->
</div><!--FIM CATEGORIA-->Discussão (3)
Carregando comentários...