Você está em: <?php the_breadcrumb(); ?> <span class="right ghost"><?php echo $total; ?> resultados encontrados</span> </p> </header> <nav id="list-products" class="small-16 columns"> <ul class="small-block-grid-5"> <?php foreach ($posts as $post): setup_postdata( $post ); global $post; $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'produtos.lista'); $th = (!empty($thumb[0])) ? $thumb[0] : get_stylesheet_directory_uri() . '/images/imagem_padrao.jpg'; ?> <li> <figure> <?php product_promo($post->ID); ?> <div class="small-16 abs frame-white"></div> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="product-thumb d-iblock small-16 left"><img src="<?php echo $th; ?>" alt=""></a> <figcaption class="small-16 left"> <h2 class="small-16 left font-medium font-regular"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>Gabinete GMI V4"><?php the_title(); ?></a></h2> <p class="no-margin small-16 left text-center"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="button secondary round font-small text-up no-margin">Detalhes</a></p> </figcaption> </figure> </li> <?php endforeach; ?> </ul> </nav> <div class="divide-30"></div> <p class="small-16 columns text-center"> <a href="#" title="Carregar mais produtos" class="button-ghost round req-posts-meta" data-total="15" data-meta="campanha_destaque">Carregar mais produtos</a>
<nav id="list-products" class="small-16 columns"> <ul class="small-block-grid-5"> <?php $args = array('posts_per_page' => 15, 'post_type' => 'produtos', 'orderby' => 'rand'); $planos = get_posts($args); foreach ($planos as $post) { setup_postdata($post); global $post; $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'produtos.lista'); $th = !empty($thumb[0]) ? $thumb[0] : get_stylesheet_directory_uri() . '/images/imagem_padrao.jpg'; ?> <li> <figure> <?php product_promo($post->ID); ?> <div class="small-16 abs frame-white"></div> <a href="<?php the_permalink(); ?> " title="<?php the_title(); ?> " class="product-thumb d-iblock small-16 left"><img src="<?php echo $th; ?> " alt=""></a> <figcaption class="small-16 left"> <h2 class="small-16 left font-medium font-regular"><a href="<?php the_permalink();