Post Views / Hit Counter Problem?

Use the following functionto set views manually

function setPostViewsManually($postID, $viewCount) {
    $count_key = 'post_views_count';
    $count = get_post_meta($postID, $count_key, true);
    update_post_meta($postID, $count_key, $viewCount);
}

You can run this code by

<?php setPostViewsManually(get_the_ID(), 1234); ?>

The above code will set the view to ‘1234’ for the current post. Run this function carefully else your new views will always be ‘1234’ because this function will keep running every time.

Just use it once and remove the code.