• Resolved azimut2000

    (@azimut2000)


    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

    (@coolmann)

    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.