Viewing 1 replies (of 1 total)
  • Thread Starter einquisitive

    (@einquisitive)

    OK, I got the first part:

    $views = wp_get_post_views(get_the_ID());
    $views = $views ? $views : 0;
    $views = number_format_i18n($views);

    Still need to know if there is a way to display the total views for the blog.

    Plus, I have a new question. Can I use this plugin to pull a sample (ie. 30 days of views)?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Post 'n Page Views] Display just the number’ is closed to new replies.