Problemas con categorías y posts fuera de lugar

  • Autor Autor AlanGuerrero
  • Fecha de inicio Fecha de inicio
AlanGuerrero

AlanGuerrero

Zeta
Verificación en dos pasos activada
Verificado por Whatsapp
Bueno, tengo un problema con las categorías ya que, al entrar a una en específico, se muestran posts que no estaban marcados en esa categoría.

Pueden ver que la categoría aquí es "Tráiler" -> TerrorifiCity | Las noticias más recientes de las peliculas de terror
Y se muestran todos los posts, ya sean puestos en esa categoría o no.

¿Alguna idea de cómo solucionarlo? Saludos.
 
Puede ser que el Loop no sea correcto, pega tu index.php
 
PHP:
<?php get_header(); ?>
	
		<!-- Begin #colLeft -->
		<div id="colLeft">
		<!-- archive-title -->				
						<?php if(is_month()) { ?>
						<div id="archive-title">
						Noticias del "<strong><?php the_time('F, Y') ?></strong>"
						</div>
						<?php } ?>
						<?php if(is_category()) { ?>
						<div id="archive-title">
						Noticias en "<strong><?php $current_category = single_cat_title("", true); ?></strong>"
						</div>
						<?php } ?>
						<?php if(is_tag()) { ?>
						<div id="archive-title">
						Noticias con "<strong><?php wp_title('',true,''); ?></strong>"
						</div>
						<?php } ?>
						<?php if(is_author()) { ?>
						<div id="archive-title">
						Noticias escritas por "<strong><?php wp_title('',true,''); ?></strong>"
						</div>
						<?php } ?>
					<!-- /archive-title -->
		<br>
					
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>		
		
		<!-- Begin .postBox -->
		<div class="postBox">
			<div class="postBoxTop"></div>
			<div class="postBoxMid">
				<div class="postBoxMidInner first clearfix">
				<div class="date"><?php the_time('M') ?><br /><span class="day"><?php the_time('j') ?></span><br /><?php the_time('Y') ?></div>
				<div class="category"><?php the_category(' // ') ?></div>
				<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1> 
				<div class="postThumb"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a></div>
				<div class="textPreview">
					<?php the_excerpt(); ?>
				</div>
				<div class="postMeta">
					<a href="<?php the_permalink() ?>" class="more-link">Seguir leyendo &raquo;</a>
					<div class="metaRight">
					<img src="<?php bloginfo('template_directory'); ?>/imagenes/ico_comments.png" alt="Comentarios"/> <?php comments_popup_link('Sin comentarios', '1 comentario ', '% comentarios'); ?>
					<img src="<?php bloginfo('template_directory'); ?>/imagenes/ico_author.png" alt="Autor"/> Noticia por <?php the_author_link(); ?>
					</div>
				</div>
				</div>
			</div>
			<div class="postBoxBottom"></div>
		</div>
		
		<!-- End .postBox -->
		
		<?php endwhile; ?>

	<?php else : ?>

		<p>Lo sentimos, no se encuentra lo que est� buscando.</p>

	<?php endif; ?>
            <!--<div class="navigation">
						<div class="alignleft"><?php next_posts_link() ?></div>
						<div class="alignright"><?php previous_posts_link() ?></div>
			</div>-->
			<?php if (function_exists("emm_paginate")) {
				emm_paginate();
			} ?>

		</div>
		<!-- End #colLeft -->
		
		<!-- slider setup -->
<script type="text/javascript">
			stepcarousel.setup({
				galleryid: 'slider', //id of carousel DIV
				beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
				panelclass: 'panel', //class of panel DIVs each holding content
				autostep: {enable:true, moveby:1, pause:5000},
				panelbehavior: {speed:500, wraparound:false, persist:true},
				defaultbuttons: {enable: true, moveby: 1, leftnav: ['<?php bloginfo('template_directory'); ?>/imagenes/but_previous.png', -32, 30], rightnav: ['<?php bloginfo('template_directory'); ?>/imagenes/but_next.png', -665, 30]},
				statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
				contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
			})
			
			</script>

<?php get_sidebar(); ?>	

<?php get_footer(); ?>

Ese es el código [MENTION=557]shadowhck[/MENTION]
 
Revisa si en tu Theme existe un category.php
 
[MENTION=557]shadowhck[/MENTION] no existe en el theme. :ambivalence:
 
Atrás
Arriba