Skip to content

Instantly share code, notes, and snippets.

@CodeNegar
Last active August 29, 2015 14:19
Show Gist options
  • Save CodeNegar/abc998db76d628583b6e to your computer and use it in GitHub Desktop.
Save CodeNegar/abc998db76d628583b6e to your computer and use it in GitHub Desktop.
Get views count
<?php
echo getPostViews(get_the_ID());
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment