WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
View count function hooked to 'wp' not counting (1 post)

  1. supertester
    Member
    Posted 11 months ago #

    Hi,

    I have a view count function which counts each pageview as a view. The function is hooked to the 'wp' hook. However since W3 Total Cache caches the whole website, the count function does not work.

    I know I can fix this by running the views function through an AJAX call instead of the 'wp' hook, but I'm wondering if there's any other way to accomplish this?

    I tried to add the path to the views function file to the 'Never cache the following pages:' box in W3 Total Cache-> Page Cache settings page, but that does not solve the issue.

    Anybody got an idea how to accomplish this?

    http://wordpress.org/plugins/w3-total-cache/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.