WordPress.org

Support

Support » Plugins and Hacks » WordPress Popular Posts » [Resolved] [Plugin: WordPress Popular Posts] Total number of views for homepage (not widget)

[Resolved] [Plugin: WordPress Popular Posts] Total number of views for homepage (not widget)

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

    @hcabrera

    Hi there,

    Unfortunately, the plugin is no longer tracking the views on homepage. The reason for this is that on large sites tracking this info causes a siginifcant load on the database due to the number of daily visits, so I decided not to record this data.

    If you still want to give it a try, you can hack the plugin’s code and change this line of code:

    if ( (is_single() || is_page()) && !is_user_logged_in() && !is_front_page() )

    … into this:

    if ( (is_single() || is_page()) && !is_user_logged_in() && is_home() )

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WordPress Popular Posts] Total number of views for homepage (not widget)’ is closed to new replies.
Skip to toolbar