Title: problem with shortcode
Last modified: August 21, 2016

---

# problem with shortcode

 *  Resolved [kkkbbb](https://wordpress.org/support/users/kkkbbb/)
 * (@kkkbbb)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/)
 * I need this:
    Total visitor: Visitor of the day: Visitors online:
 * I have try this:
 * >  Hi there,
   > all the filters have been added to the new version of my plugin.
   > Total unique visitors (or Total Unique IPs)
   > [slimstat f=’count-all’ w=’ip’]
   > Uniques visitors of the day
   > [slimstat f=’count’ w=’ip’ lf=’strtotime equals today’]
   > Total Page views
   > [slimstat f=’count-all’ w=’*’]
   > Page views of the day
   > [slimstat f=’count’ w=’*’ lf=’strtotime equals today’]
   > Visitors online is usually interpreted as visitors in the last 5 minutes (300
   > seconds) or so:
   > [slimstat f=’count-all’ w=’*’ lf=’WHERE:NOW() – dt < 300′]
   > A vote for my plugin would be a nice way to say thank you!
   > Have fun
   >  Camu
 * Seems this does not work corectly. Seems filter not work at all…
    what to do?
 * [http://wordpress.org/extend/plugins/wp-slimstat-shortcodes/](http://wordpress.org/extend/plugins/wp-slimstat-shortcodes/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [kkkbbb](https://wordpress.org/support/users/kkkbbb/)
 * (@kkkbbb)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/#post-3914092)
 * I palce this shortcodes to my page and got this result:
 * > Total unique visitors (or Total Unique IPs)
   >  15
   > Uniques visitors of the day
   >  15
   > Total Page views
   >  1016
   > Page views of the day
   >  1016
   > Visitors online is usually interpreted as visitors in the last 5 minutes (300
   > seconds) or so:
   >  1016
 * Seems this is wrong result…
 * what to do? where is the problem
 * _[ Moderator note: Stop bumping your post, [those will get deleted](http://codex.wordpress.org/Forum_Welcome#No_Bumping).]_
 * _[note: as you are not adding any relevant new information – for instance a link
   to your site – any additional posts will keep getting moderated]_
 *  [joachimcarrein](https://wordpress.org/support/users/joachimcarrein/)
 * (@joachimcarrein)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/#post-3914253)
 * I have the same problem, is there a fix for this already?
 *  [puravida69at](https://wordpress.org/support/users/puravida69at/)
 * (@puravida69at)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/#post-3914260)
 * I also have the same Problems. Always the same Numbers. For Year, month and day.
 * When will it be fixed? Pleaaase! 🙂
 *  [PV-Patrick](https://wordpress.org/support/users/pv-patrick/)
 * (@pv-patrick)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/#post-3914267)
 * This looks like the same issue reported here: [http://wordpress.org/support/topic/plugin-wp-slimstat-shortcodes-reset-filters-during-page-load](http://wordpress.org/support/topic/plugin-wp-slimstat-shortcodes-reset-filters-during-page-load)
 * It appears you can only have 1 shortcode per page – they seem to not run independently
   from each other and just continue to build on top of or use the last one. Can
   the mod please confirm this? Thank you!
 *  [Mustafa YALCIN](https://wordpress.org/support/users/by-rallier/)
 * (@by-rallier)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/#post-3914275)
 * hi i have an error.
    my place shortcode. this is result; Total unique visitors(
   or Total Unique IPs) 2476 Uniques visitors of the day 2476 Total Page views 17298
   Page views of the day 17298 Visitors online is usually interpreted as visitors
   in the last 5 minutes (300 seconds) or so: 0
 * My online users number is ZERO
    but i have 30+ online user
 *  [vivekanandp](https://wordpress.org/support/users/vivekanandp/)
 * (@vivekanandp)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/#post-3914284)
 * Hi Camu/team
    I am using the 2014 template. I require the below stats from SlimStat
   shortcodes:
 * Total unique visitors : [slimstat f=’count-all’ w=’ip’]
    Uniques visitors of 
   the day: [slimstat f=’count’ w=’ip’ lf=’strtotime equals today’] Total Page views:[
   slimstat f=’count-all’ w=’*’] Page views of the day : [slimstat f=’count’ w=’*’
   lf=’strtotime equals today’] Online visitors : [slimstat f=’count-all’ w=’*’ 
   lf=’WHERE:NOW() – dt < 300′]
 * When I copy the above text in a Text Widget in sidebar, it shows it in a string
   instead of showing stats. Can you please help how I can put it in my sidebar?
   
   Do I need to put it inside my code? If that is the case, can you please share
   the format in which I need to put it?
 *  Plugin Author [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/#post-3914285)
 * You need to enable shortcodes in widgets:
 * [http://lmgtfy.com/?q=enable+shortcodes+in+widgets](http://lmgtfy.com/?q=enable+shortcodes+in+widgets)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘problem with shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-slimstat-shortcodes.svg)
 * [WP SlimStat Shortcodes](https://wordpress.org/plugins/wp-slimstat-shortcodes/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat-shortcodes/reviews/)

## Tags

 * [slimstat](https://wordpress.org/support/topic-tag/slimstat/)

 * 7 replies
 * 7 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-shortcode-3/#post-3914285)
 * Status: resolved