[Plugin: WP SlimStat] Popular Posts
-
Is there a way to show the X most popular posts on my blog?
-
Yes, it’s one of the boxes in the dashboard: Popular pages. If your posts’ URLs have a given structure, you can filter by Permalink to show only posts.
Camu
I’m looking to display them on my blog, like a widget. I don’t see how to do that. I’ve installed the shortcodes plugin but I don’t see the code to do what I want.
Is it not possible?
In order to avoid loading the main plugin with extra functionality that only few people need, I implemented this feature in a separate plugin, called Wp SlimStat Shortcodes. I will probably include this plugin into the main package, so that people will get the entire suite in one shot and will be able to decide what activate and what not.
Camu
As I said above, I have that plugin installed already and STILL can’t figure out, how to display the most popular posts. I don’t see a shortcode for it.
Sorry you must have added that sentence about my other plugin while I was answering π anyway, you need to setup a filter. Remember though that it will return the URLs, not post titles, since wp slimstat tracks ALL the pageviews by default (categories, pages, searches, etc…)
Camu
Okay setting up a filter is good to know, but not helpful. Are there examples to work from somewhere? I am familiar with WP but not overly so.
I appreciate your quick responses π
Hi there,
you may want to take a look at this page
http://lab.duechiacchiere.it/index.php?topic=2.0#post_shortcodes
A vote for my plugin(s) would be a nice way to say thank you π
Camu
You know, after sending my previous message, I realized that there’s currently no way to easily extract the information you want to display. You gave me a great idea for the next release, I’m currently working on it. Stay tuned!
Camu
That sounds fabulous. I looked at the page you referenced and couldn’t figure it out. Glad I just wasn’t being dense.
Thanks!
Yep, sorry about that, I hadn’t updated the Shortcodes plugin in a while and I had forgotten that it didn’t have such a ‘basic’ functionality! π Unfortunately the new option won’t be able to ‘count’ all the pageviews previously recorded, since they don’t include the information needed to decide if that post is popular or not. Would you be interested in beta-testing the new release?
Camu
I would love to beta test but I’m not sure why the previous post views can’t work with the new functionality? SlimStat already counts that so can you explain why adding the functionality to just display that in a widget isn’t an option? I’m really confused on that.
Well, WP SlimStat cannot currently filter pageviews based on their ‘content type’ (post, page, category, taxonomy, etc). Right now you would be able to get the first most visited X URL’s in general. And you would get the URL, not the post title. The new version I’m working on, is able to filter your stats based on the ‘content type’ and, for posts, to return all the information about them, not just their URL’s.
Camu
The topic ‘[Plugin: WP SlimStat] Popular Posts’ is closed to new replies.