• Resolved hummelmose

    (@hummelmose)


    Hi.

    I know it’s a coming feature, but has anyone found a way to show the post view count for all posts in “All Post Views” in admin. It’s quite imortant to me to get that to work.

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I didn’t get around to it yet I’m afraid. I’m still tracking this here, I’ll update that issue once I make progress on this:
    https://github.com/jeherve/jp-post-views/issues/5

    A potential issue has stopped me from quickly implementing this so far: the Jetpack plugin caches the stats value for each post in its own entry in the options table. Updating stats for all posts to display the column would end up being quite taxing for sites with a lot of posts.

    I can think of 2 ways around this at the moment:

    1. Query the API directly without going through the Jetpack plugin, but that would mean implementing the connection to the WordPress.com API from scratch, thus “re-inventing the wheel” a bit.
    2. See if the Jetpack plugin itself can be modified to not cache the data in the options table when it is already stored in post meta like with tihs plugin.

    There may be better alternatives I haven’t thought of yet though. I’ll update the issue once I figure this out.

Viewing 1 replies (of 1 total)
  • The topic ‘Show post views in “All Post” view’ is closed to new replies.