• Resolved shadiji

    (@shadiji)


    Hello,

    After a posts import from old website,
    I need to set manually views number for some posts
    I’m trying to do that on “wp_popularpostsdata”/”pageviews” table by phpmyadmin interface
    But the modification is not taken into the plugin views count

    Thank you for help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @shadiji,

    WordPress Popular Posts stores the views count in two separate tables:

    1. wp_popularpostsdata: here you’ll find the all-time (total) views count.
    2. wp_popularpostssummary: the views count of the last day/week/month/etc.

    You may need to edit the data on the wp_popularpostssummary table as well.

    Also, if you imported your posts using the Tools > Import WordPress menu note that when you do this WordPress changes the IDs of the posts during the import process and so these new IDs won’t match the ones on WPP’s database tables. If that’s the case you’ll also need to change the IDs of your posts in wp_popularpostsdata and wp_popularpostssummary.

    Thread Starter shadiji

    (@shadiji)

    Thank you Héctor,
    the id matches well
    when I’ve set pageviews also on wp_popularpostssummary, it was taken into the plugin views count, great !

    Now, this post have the heighest views number. It is first on “Most viewed” but not in first position on “Popular”, any idea? ??

    • This reply was modified 3 years, 2 months ago by shadiji.
    Plugin Author Hector Cabrera

    (@hcabrera)

    Now, this post have the heighest views number. It is first on “Most viewed” but not in first position on “Popular”, any idea?

    You’ll need to share more details so I can help ?? What’s “Most Viewed” and what’s “Popular” in your case?

    Thread Starter shadiji

    (@shadiji)

    I’am using bimber theme
    Please check this link

    At home page, you’ll find “most viewed” widget and on home menu the link to “popular”

    ??

    Plugin Author Hector Cabrera

    (@hcabrera)

    There’s a critical PHP error on your website at the moment so I can’t see your site ??

    Anyways, since you’re using the Bimber theme it might be a good idea to contact the authors of the theme, the Bring The Pixel team, so they can let you know if there’s something you need to change configuration wise to get things working as expected.

    Thread Starter shadiji

    (@shadiji)

    Okay, I’ll contact them

    Critical PHP error fixed, if you want to have a look, thanks ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Edit post views number’ is closed to new replies.