• Resolved sulive

    (@sulive)


    Hi Greg,

    Is there a possibility to show the number of views to an ad?

    Thanks
    Sylvia

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    you can do that using our Google Analytics integration https://wpadverts.com/documentation/google-analytics-integration-paid-addon/, or you can try installing some third-party plugin which will show the pageviews on custom post type pages, for example this one https://pl.www.ads-software.com/plugins/page-views-count/ should work.

    Thread Starter sulive

    (@sulive)

    Hi Greg,

    I have activated the plugin. The page count appears on the regular WP posts, but not on the WP adverts posts. When I edit an WP adverts ad via the admin I can see the Page View Counter and it’s activated.

    Is there some other setting?

    Thanks
    Sylvia

    Plugin Author Greg Winiarski

    (@gwin)

    Try adding in your theme functions.php file the code below

    
    add_action( "init", "my_pvc_init", 10000 );
    function my_pvc_init() {
      remove_filter('the_content', array('A3_PVC','pvc_stats_show'), 8);
      add_filter('the_content', array('A3_PVC','pvc_stats_show'), 80000);
    }
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Views’ is closed to new replies.