Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/05/2009, 17:10
Avatar de Wonza99
Wonza99
 
Fecha de Ingreso: marzo-2009
Mensajes: 54
Antigüedad: 15 años, 1 mes
Puntos: 0
Respuesta: [AYUDA] No muestra mas de 3 post en las categorias.

Hola WillxD, gracias por responder.

Te comento que duplique el archivo y lo llame category.php y no paso nada. Yo creo que de ser asi como vos decis. Que toma la cantidad de muestra de post desde el index.php supongo que tengo que modificar alguna linea que muestre de donde tomar la cantidad de post a mostrar, el tema es que estoy viendo el codigo del index.php y no logro darme cuenta.

Adjunto el index.php por si alguien se da cuenta y me quiere ayudar.

Código:
<?php get_header(); ?>
	
	<!-- BEGIN content -->
	<div id="content"><div class="head"><div class="foot">
	
		<?php 
		$tmp_query = $wp_query;
		query_posts('cat=' . get_cat_ID(dp_settings('featured')));
		if (have_posts()) :
		$first = true;
		while (have_posts()) : the_post();
		ob_start();
		?>
		<li<?php if ($first) echo ' class="first"'; ?>><a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'full', 'alt="' . $post->post_title . '"'); ?></a></li>
		<?php
		$photos .= ob_get_clean();
		ob_start();
		?>
		<li<?php if ($first) echo ' class="first"'; ?>>
			<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
			<p><?php echo dp_clean($post->post_content, 300); ?></p>
			<a href="<?php the_permalink(); ?>" class="readmore">VER NOTA COMPLETA</a>
		</li>
		<?php
		$text .= ob_get_clean();
		$first = false;
		endwhile;
		endif;
		?>
	
		<!-- begin featured -->
		<div class="featured">
		<h2 class="title">Titulo Blog</h2>
		<div class="thumb"><div class="b">
			<ul class="photo">
			<?php echo $photos; ?>
			</ul>
			<ul class="text">
			<?php echo $text; ?>
			</ul>
		</div></div>
		</div>
		<!-- end featured -->
		
		<?php
		$wp_query = $tmp_query;
		if (have_posts()) :
		while (have_posts()) : the_post();
		$arc_year = get_the_time('Y');
		$arc_month = get_the_time('m');
		$arc_day = get_the_time('d');
		?>
		
		<!-- begin post -->
		<div class="post">
		<div class="l">
			<a href="<?php the_permalink(); ?>"><?php dp_attachment_image($post->ID, 'thumbnail', 'alt="' . $post->post_title . '"'); ?></a>
		</div>
		<div class="r">
			<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
			<p><?php echo dp_clean($post->post_content, 300); ?></p>
			<p class="details"><?php the_category(', ') ?></p>
			<p class="comments"><?php comments_popup_link('Ver nota completa', '1 Consulta', '% Consultas'); ?></p>
		</div>
		</div>
		<!-- end post -->
		
		<?php endwhile; else : ?>
		<div class="notfound">
		<h2>Not Found</h2>
		<p>Sorry, but you are looking for something that is not here.</p>
		</div>
		<?php endif; ?>
	
		<?php include("bottom.php"); ?>
		
		<!-- begin post navigation -->
		<div class="postnav">
		<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
		</div>
		<!-- end post navigation -->
		
		<div class="break"></div>
	
	</div></div></div>
	<!-- END content -->
	
<?php get_sidebar(); get_footer(); ?>
Desde ya muchas gracias.