thanks mate .. please i have this code in the single.php ..
please i want you to do it for me ..
<span class=”newsTabContentHeadline”><?php if (function_exists(‘wpp_get_mostpopular’)) wpp_get_mostpopular(“post_type=post&range=all”); ?></span>
i dont know what should i do 🙁
great its work .. now i have new posts..
please how to remove the views count ?
whene i add this code
wpp_get_mostpopular( ‘stats_views=0’ );).
nothing changed
Try the following:
<span class="newsTabContentHeadline">
<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("post_type=post&range=all&freshness=1&stats_views=0"); ?>
</span>
well its work but ..
http://ims.sportsontheweb.net/ims/pic.php?u=1OTXwM&i=34
you can see there is empty space under the posts ..
also the ols posts still in the Beginning
you can see there is empty space under the posts ..
The empty space is created by your theme.
also the ols posts still in the Beginning
That’s because you set range to all, which tells WPP to get the most popular posts from all times. In that case, the parameter freshness is ignored.
how to fix the old posts
please give me the code that give me only freshness posts ..
and thank you for your help
How about this:
<span class="newsTabContentHeadline">
<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("post_type=post&range=weekly&freshness=1&stats_views=0"); ?>
</span>