Forums

[resolved] Postmeta 'views' not updating (2 posts)

  1. ChrisBuck
    Member
    Posted 3 months ago #

    I have a plugin in development that retrieves post views from the postmeta.meta_value and postmeta.meta_key fields, but lately WordPress is not updating the number of views. I've de-activated all plugins, and still it doesn't register views. E.g., posts that I know I have viewed recently all say 0 since a couple of days ago.

    This worked fine originally, and I haven't made any updates to my theme or WordPress install recently. Anyone know what might be causing this?

  2. ChrisBuck
    Member
    Posted 3 months ago #

    Solved the problem by installing WP-Postviews http://downloads.wordpress.org/plugin/wp-postviews.zip and enabling views from all sources, not just guests. Then the views table started updating again.

Reply

You must log in to post.

About this Topic