How to display WordPress post view count without a plugin

Tutorial 1

Use this code in functions.php

Or use this code in your single.php

then use this code for display post counter

 

Tutorial 2

Add this code your functions.php

Add this code to your single.php file

Add this code for display post counter