Skip to content

Commit

Permalink
Adds support for koko_analytics_site_counter which allows displaying
Browse files Browse the repository at this point in the history
the number of times the whole site or a page has been viewed
  • Loading branch information
intentionally-left-nil committed May 31, 2021
1 parent 25ae43f commit 794106c
Show file tree
Hide file tree
Showing 4 changed files with 6,130 additions and 16,099 deletions.
4 changes: 4 additions & 0 deletions koko-analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
$shortcode = new Shortcode_Most_Viewed_Posts();
$shortcode->init();

require __DIR__ . '/src/class-shortcode-site-counter.php';
$site_counter_shortcode = new ShortCode_Site_Counter();
$site_counter_shortcode->init();

require __DIR__ . '/src/class-pruner.php';
$pruner = new Pruner();
$pruner->init();
Expand Down
Loading

0 comments on commit 794106c

Please sign in to comment.