Title: Shortcode
Last modified: February 27, 2017

---

# Shortcode

 *  Resolved [azimut2000](https://wordpress.org/support/users/azimut2000/)
 * (@azimut2000)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/shortcode-492/)
 * Hello & thank’s for this fabulous plugin 😉
 * I have a problem with shortcode syntax : i’d like to take only some user in the
   TOP and i write this shortcode in order to exclude “admin” and an other user “
   loc”.
 * `[slimstat f='top' w='username']username is_not_equal_to admin|loc[/slimstat]`
 * But when i’m testing it, admin and loc are allways visible ! I do not understand
   what sort of mistake i can do…
 * In the same way, i have also an other problem with this code that i take in your
   exemples page :
 * `[slimstat f='top' w='post_link'][/slimstat]`
 * It’s the most popular URLs in this month and I do not understand why the same
   URL appear a lot of time in this statistic ? As i want a TOP of URL, i think 
   it do not have to appear a lot of time !?
 * Can you help and explain me ?
 * Thierry
 * PS: is it possible to have more exemples in your help pages, mostly with specific
   filters and operators ?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/shortcode-492/#post-8853633)
 * Hi,
 * you will need to fix your syntax to make your first shortcode work the way you
   want, as the “OR” operator is not supported in the way you’re using it:
 * `[slimstat f='top' w='username']username does_not_match admin|loc[/slimstat]`
 * As for the second shortcode, Slimstat will list unique links, so even if the 
   title is the same, the underlying URL is probably different. We are working to
   update the code so that only the first occurrence is listed, even if multiple
   URLs correspond to the same title (usually with query strings or hashtags).
 * Best,
    Jason

Viewing 1 replies (of 1 total)

The topic ‘Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/shortcode-492/#post-8853633)
 * Status: resolved