Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/12/2010, 17:34
Canopix1
 
Fecha de Ingreso: noviembre-2010
Ubicación: Santa Fe capital
Mensajes: 30
Antigüedad: 13 años, 6 meses
Puntos: 0
Respuesta: Determinadas Categorias en Pagina Principal

Acabo de hacer esto pero todo funciona igual!!! :(

<?php if (query_posts('cat=1')) { while (have_posts()) : the_post(); ?>

despues del endwhile le puse: <?php } ?>


Código:
		
                             
			<div class="box post" id="post-<?php the_ID(); ?>">
				<div class="content">
					<?php $postimageurl = get_post_meta($post->ID, 'post-img', true); if ($postimageurl) { ?>
                    <div class="pic fl">
                      <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php echo $postimageurl; ?>" alt="Post Pic" width="200" height="200" /></a>
                    </div>
					<?php } ?>
					<div class="post-title">
						<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
					</div>
					<!--/post-title -->
					<div class="post-date"><em>El <?php the_time('m.d.y'); ?>, En <?php the_category(', ') ?>, Escrito por:  <?php the_author_posts_link(); ?></em></div>
					<div class="post-excerpt"><?php the_excerpt(); ?></div>
					<!--/post-excerpt -->
				</div>
				<!--/content -->
				<div class="hl"></div>
				<div class="social-links">
					<div class="fl">
						<span><?php comments_number(0, 1, '%'); ?></span>
						<a href="<?php the_permalink(); ?>#Comentarios" title="Ver Comentarios">Comentarios</a>
					</div>
					<div class="fr"><span><a href="<?php the_permalink(); ?>#respond" title="Alentame con un comentario!">Alentame con un comentario!</a></span></div>
					<br class="fix" />
				</div>
				<!--/social-links -->
			</div>
			<!--/box -->
		
		<?php endwhile; ?>
		<?php } ?>


PORQUE PASA ESTO?? PORQUE TODO SIGUE IGUAL.