Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dFactory

    (@dfactory)

    Normally the views are counted only when specific single post is being displayed.

    However there are ways to force it in different places / actions with the use of pvc_view_post() function.

    You may for example hook into the_content or the_excerpt filter hooks and fire the pvc_view_post( $post_id ) – these filters are usually run when displaying content of excerpt in different template pages, not necessarily single posts.

    Regards,
    Bartosz / dfactory team

    Thread Starter peterpictoplasma

    (@peterpictoplasma)

    perfect!
    Thanks for the quick help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘count posts loaded in query on homepage’ is closed to new replies.