Rmra Don
Member
Posted 4 months ago #
Howdy, ;)
I don't know how developer missed it, as mentioned in the FAQ of this plugin that its attributes (complete list) are available at wp-admin > Settings > WordPress Popular Posts page.
But there is nothing related to attribute, all there is about the widgets and I want to include it in my theme using template tags (php). I added this in my theme but I don't want comment views in the output , I want page views.
<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular(); ?>
Please contribute. Thanks.
http://wordpress.org/extend/plugins/wordpress-popular-posts/
Héctor Cabrera
Member
Posted 4 months ago #
Hi Rmra Don,
You can use these attributes as well with the template tag as stated in the FAQ section:
What are the parameters that the wpp_get_mostpopular() template tag and the [wpp] shortcode accept? You can find a complete list of parameters via wp-admin > Settings > WordPress Popular Posts under the section "What attributes does WordPress Popular Posts shortcode [wpp] have?"
There is even an example of how to use the template tag and pass parameters to it in the wp-admin > Settings > WordPress Popular Posts page.
Reading doesn't hurt, you know? ;)
Rmra Don
Member
Posted 3 months ago #
Thanks @Héctor Cabrera.
I'm now scratching my head... I was lazy to read them all, I read almost half of them but missed last 4-5 FAQ's!
I got what I was looking for,, Thanks again for shaking me ;) LOL..