Do you want to show the number of times a page or post has been viewed in WordPress? There are several WordPress plugins that allow you to show pageview counts along with other bells and whistles. What if you don’t need all those features and just want to show the pageview count? Here is a very simple and effective code for logging the number of pageviews and showing them in WordPress.