• I have tried about every variation of values for the time= shortcode to say “Show stats since January 1st of this year”, but it never works. I either get all 0’s, or numbers for the entire dataset. For instance

    [wpstatistics stat=pagevisits time=2023 id=2220]

    I would expect to show me page visits to page ID 2220 since January 1, 2023, but it doesn’t. What value can I put in there to limit the scope to this year, since January 1st, not 1 year worth of data? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Reza

    (@reventon94)

    Dear @tosborne ,

    I hope this message finds you in good health. Thank you for contacting us.

    To obtain precise guidance on how to use WP Statistics shortcodes, we recommend referring to the following article in our documentation:

    https://wp-statistics.com/resources/shortcodes

    If you require further information or have any queries, please do not hesitate to contact me.

    Best regards.

    Thread Starter tosborne

    (@tosborne)

    Thanks. I am familiar with that doc, but it doesn’t answer my question. What can be used for the time= parameter to mean “since January 1st of this year”?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Short Code for “This Year”’ is closed to new replies.