?> <!-- NAO USAR O FECHAMENTO --> <!-- LOOP DA PAGINACAO --> <?php $wp_query = new WP_Query(); query_posts( array( 'category_name' => 'oportunidades', 'showposts' => 9, 'paged'=>$paged )); if(have_posts()): while ($wp_query -> have_posts()) : $wp_query -> the_post(); ?> <a href="<?php the_Permalink()?>"> <section class="col-md-4 no-pad item-oportunidade"> <?php the_post_thumbnail(); ?> <figcaption> <h3><?php the_title()?></h3> <span><?php excerpt(50); ?></span> </figcaption> </section> </a> <?php endwhile; else:?> <?php endif?> <div class="clearfix"></div> <?php if (function_exists('pagination_funtion')) pagination_funtion(); ?>
"> <section class="col-md-4 no-pad item-oportunidade"> <?php the_post_thumbnail(); ?> <figcaption> <h3><?php the_title(); ?> </h3> <span><?php excerpt(50); ?> </span> </figcaption> </section> </a> <?php } } else { ?> <?php } ?> <div class="clearfix"></div> <?php if (function_exists('pagination_funtion')) { pagination_funtion(); }