yes, there is an shortcode. see the readme.txt for parameters.
[CPD_MOST_VISITED_POSTS limit="5" days="30" postsonly="1" posttypes="posts,pages"]
Hmmm, it doesn’t work as hoped…
Please have a look at the righthandside widgetarea, last box:
http://jeanjensen.dk/baronens-fjernstyrede-trial-crawler/
1: There aint any count
2: The info is outside the box, and there is only the headline inside the box
BTW:
I placed this:
[CPD_MOST_VISITED_POSTS limit=”10″ days=”180″ postsonly=”1″ posttypes=”posts”]
– inside the textarea in the ‘text’-widget box.
do you have written the shortcode in the text widget?
you also could use a function in the e.g. sidebar.php
getMostVisitedPostIDs( $days, $limit, $cats, $return_array )
gets a list of PostIDs you can use in a for loop.
I’m not really into the id’s annd loop show 🙁
Byt yes, I wrote the [CPD_MOST_VISITED_POSTS limit=”10″ days=”180″ postsonly=”1″ posttypes=”posts”] in a text-widget…
Okay, I sorted it out:
[CPD_MOST_VISITED_POSTS limit=”5″ postsonly=”1″ days=”30″]
– works just as hoped, thank!!
BUT; the content is placed outside the widget-box (in frontend). Any ideas?
http://tinypic.com/r/14xgw1s/5