Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Julio Potier

    (@juliobox)

    Hello

    The count is only done on single (i use is_singular miked with you settings) so on front end, the count is avoided.

    Thread Starter alezander

    (@alezander)

    I need to display posts and post views on front page

    So, I wrote this code at the front page template

    echo get_post_meta( $post->ID, '_count-views_all', true );

    That’s it.

    Thanks for your answer. Nice plugin.

    Plugin Author Julio Potier

    (@juliobox)

    It works, you can also use echo do_shortcode( '[post_view]' );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to exclude front page from counting?’ is closed to new replies.