Cita:
Iniciado por anarkes
Que tal amigo, no estoy muy seguro, pero creo que debería de quedar así :D Prueba y me comentas :D
Código PHP:
<?php
/*
Template Name: Blog
*/
?>
<?php get_header(); ?>
<div id="left">
<?php
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query('paged='.$paged);
?>
<?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
<?php if((the_ID() <= 21 && the_ID() >= 17) || the_ID() == 82) {?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="postmeta"> <span>Posted by <?php the_author_posts_link(); ?></span> | <span><?php the_time('l, n F Y'); ?></span> | <span><?php the_category(', '); ?></span> </div>
</div>
<div class="entry">
<?php the_post_thumbnail( 'story_feature', array('class' => 's-image') ); ?>
<?php wpe_excerpt('wpe_excerptlength_archive', ''); ?>
<div class="clear"></div>
</div>
</div>
<?php } ?>
<?php endwhile; ?>
<?php getpagenavi(); ?>
<?php $wp_query = null; $wp_query = $temp;?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
No amigo, no funciono, al modificar el original salia una hilera de números