Boa noite pessoal.
Eu estou com um grande problema eu queria fazer isto http://abduzeedo.com/tags/inspiration 3 posts em destaque em cima e o resto em baixo.
usei este codigoCódigo :
mas o que acontece é que isto entra em conflito com o plugin pois quando vou para a pagina 2 aparece os mesmos posts...
voces podem ajudar como criar um loop que de para meter os 3 em destaque?
OBRIGADO
Eu estou com um grande problema eu queria fazer isto http://abduzeedo.com/tags/inspiration 3 posts em destaque em cima e o resto em baixo.
usei este codigoCódigo :
<?php get_header(); ?>
<div id="wrap" class="container">
</div>
<?php
query_posts('showposts=3'); $ids = array(); while (have_posts()) : the_post(); $ids[] = get_the_ID(); ?>
<div class="archive-threecolumns">
<div class="archive-threecolumns-wrap">
<a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_post_thumbnail('archive_image'); ?></a>
<h3 class="post-title"><a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="postmeta"><?php themezee_display_postmeta(); ?></div>
<div class="entry clearfix">
<?php the_excerpt(__('<span>Read more</span>', 'zeeDynamic_language')); ?>
<div class="page-links"><?php wp_link_pages(); ?></div>
</div>
</div>
</div>
<?php
endwhile;
?>
<div id="wrap" class="container">
<div class="archive-borderbottom"></div>
</div>
<div id="wrap" class="container">
<section id="content" class="primary" role="main">
<?php query_posts(array('post__not_in' => $ids)); while (have_posts()) : the_post();
get_template_part( 'loop', 'index' );
endwhile;
themezee_display_pagination();
?>
</section>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
<div id="wrap" class="container">
</div>
<?php
query_posts('showposts=3'); $ids = array(); while (have_posts()) : the_post(); $ids[] = get_the_ID(); ?>
<div class="archive-threecolumns">
<div class="archive-threecolumns-wrap">
<a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_post_thumbnail('archive_image'); ?></a>
<h3 class="post-title"><a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<div class="postmeta"><?php themezee_display_postmeta(); ?></div>
<div class="entry clearfix">
<?php the_excerpt(__('<span>Read more</span>', 'zeeDynamic_language')); ?>
<div class="page-links"><?php wp_link_pages(); ?></div>
</div>
</div>
</div>
<?php
endwhile;
?>
<div id="wrap" class="container">
<div class="archive-borderbottom"></div>
</div>
<div id="wrap" class="container">
<section id="content" class="primary" role="main">
<?php query_posts(array('post__not_in' => $ids)); while (have_posts()) : the_post();
get_template_part( 'loop', 'index' );
endwhile;
themezee_display_pagination();
?>
</section>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
mas o que acontece é que isto entra em conflito com o plugin pois quando vou para a pagina 2 aparece os mesmos posts...
voces podem ajudar como criar um loop que de para meter os 3 em destaque?
OBRIGADO