I try various shortcodes. One that seems to do the job is the following:
[slimstat f=’popular’ w=’resource’ lf=’WHERE:NOW() – dt < 300000′ lc=’post_link,count’]
(300000 is just a value)
but it returns not only posts but also categories, tags, main page.
If I write it like that:
[slimstat f=’popular’ w=’resource’ lf=’WHERE:NOW() – dt < 300000&&&content_type equals post’ lc=’post_link,count’]
I would expect to filter only the posts. But in that case I get nothing.
I also tried with strtotime and interval like the following but with no luck:
[slimstat f=’popular’ w=’resource’ lf=’strtotime equals last Monday&&&interval equals -1&&&content_type equals post’ lc=’post_link’]