[Plugin: WordPress Popular Posts] Remove stats from template function
-
I’m having difficulty removing the stats when using the function in a template (not shortcode, not widget).
Everything looks correct to me:
<?php $popular = array( 'limit'=>'4', 'range'=>'day', 'order_by'=>'views', 'pages'=>false, // 'stats_tag'=>array('comment_count'=>false), 'stats_comments' => false, // 'do_pattern'=>true ); if(function_exists('wpp_get_mostpopular')): ?> <aside id="trending-now"> <p class="loop-category">Trending Now</p> <?php wpp_get_mostpopular($popular); print_r($popular); ?> </aside> <?php endif; ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘[Plugin: WordPress Popular Posts] Remove stats from template function’ is closed to new replies.