How to control Post view count incresing in sidebar widget posts too?
On a few separate notes: I think your elseif check is probably intended to be elseif( empty( $count ) ), as currently it would result in the count being reset to 0 whenever WP_CACHE is set and the post has a ‘tie_views’ field – though I may be misinterpreting your intentions. One call to update … Read more