Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Solved! WordPress

  • REFUNDED

Have solved this myself! Thanks anyway!

Answers (1)

2014-08-07

Hariprasad Vijayan answers:

Hi Jens,
Try this

// Header and stuff goes here
<?php
$counter = 0;
$posts = wmp_get_popular( array( 'limit' => 3, 'post_type' => 'post', 'range' => 'daily' ) );
global $post;
if ( count( $posts ) > 0 ): foreach ( $posts as $post ):
$counter++; setup_postdata( $post );
?>
<div class="hot-today col<?php echo $counter;?>">
<a href="<?php the_permalink() ?>" rel="bookmark">
<?php the_post_thumbnail('loop-thumbnail'); ?><span><?php the_title(); ?></span></a>
</div>
<?php
wp_reset_postdata();
endforeach;
endif;
?>
// here comes the normal single post loop


Jens Filipsson comments:

This is not working unfortunately...

// Jens.