[koko_analytics_counter] | WordPress.org

[ad_1]

Plugin Support
Lap

(@lapzor)

You can use the [koko_analytics_counter] shortcode to show the number of visitors to the current page.

Without any arguments it will default to visitors over the past 10 years for the current page.

It takes 3 optional arguments:

  • days: Show count over the last N days. Defaults to “3650”.
  • global: Whether to show the global count (for the entire site) or for the current page only. Defaults to “false”.
  • metric: One of “visitors” or “pageviews”. Defaults to “visitors”.

Example use with arguments:

[koko_analytics_counter days=”30″ metric=”pageviews” global=”true”]

    $default_args = array(
        'days' => 365 * 10,
        'metric' => 'visitors',
        'global' => false
 )

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer