• The options allow one to turn off post-views from displaying on pages, but it seems the script is still running in pages, which hurts the page load-times considerably. Is there a way to disable this?

    Ideally postviews would be able to get data from the jetpack stat counter (which already has a stats API), which is already collecting this information, but I haven’t seen any plugin that can do this.

    http://wordpress.org/extend/plugins/wp-postviews/

Viewing 1 replies (of 1 total)
  • shansta

    (@shansta)

    Hey

    Line 98 in wp-postviews.php

    you could change to

    if(defined('WP_CACHE') && WP_CACHE && is_single()) {

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-PostViews] Avoid running post-views on pages’ is closed to new replies.