</small> <h1><a href="<?php the_Permalink(); ?> " title="<?php the_title(); ?> " alt="<?php the_title(); ?> "><?php the_title(); ?> </a></h1> <p><?php the_excerpt_rereloaded(30); ?> </p> </div> <?php } } else { ?> <?php } ?> <?php if (function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
<?php $the_query = new WP_Query(array('category_name' => 'destaque-direita', 'posts_per_page' => 1)); while ($the_query->have_posts()) { $the_query->the_post(); ?> <a href="<?php the_permalink(); ?> "><h3 class="media-heading"><?php the_title(); ?> </h3></a> <p><?php the_excerpt_rereloaded(); ?> </p> <a href="<?php the_permalink(); ?> "><div class="img-post"> <?php the_post_thumbnail('small'); ?> </div> </a> <?php } wp_reset_postdata();
<?php $key = "imagem"; $url_img = get_post_meta($post->ID, $key, true); if ($url_img) { ?> <a class="link_img_post" href="<?php the_Permalink(); ?>"> <img class="img_post" align="left" src="<?php echo get_option('home') . '/' . get_post_meta($post->ID, $key, true); ?>"/> </a> <?php } ?> <?php if(function_exists('the_excerpt_rereloaded')) { the_excerpt_rereloaded('50','','all'); } else { the_excerpt(); }?> <div class="clear"></div> </div> </div> <?php endwhile; else : endif; ?> </div>
<img src="<?php bloginfo('template_directory'); ?> /images/no-image.jpg" alt="<?php the_title(); ?> " title="<?php the_title(); ?> " /> <?php } ?> </a> <?php the_excerpt_rereloaded('100', 'Continue lendo »', '<strong><em>', 'div', 'yes'); ?> </div> <div class="entry-utility"> <span> <?php the_tags('Tags: ', ' - ', ''); ?> </span> </div> </article> <?php } } else { ?>