First thing we need to do is create a function that will detect post views count and store it as a custom field for each post. To do this, paste the following codes in your theme’s functions.php file or better in a site-specific plugin: Now that you have this function in place, we need to call … [Read more...] about How To Display Most Viewed Posts in WordPress Without a Plugin