WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Is there a way to display views counted by WordPress Popular Posts in the post

[Resolved] Is there a way to display views counted by WordPress Popular Posts in the post

Viewing 2 replies - 1 through 2 (of 2 total)
  • You should try reading the plugin’s page dude.

    http://wordpress.org/plugins/wordpress-popular-posts/installation/

    I think you’ll most likely want to edit content.php and/or content-*.php and add <?php if (function_exists('wpp_get_views')) { echo wpp_get_views( get_the_ID() ); } ?> somewhere in there. Note that the ID is required. It also accepts a second parameter to indicate time period (e.g., 'weekly'); again, see the plugin’s page for more information on how this function works.

    Wow.

    That worked. You are the bomb :PPPPPPP

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Is there a way to display views counted by WordPress Popular Posts in the post’ is closed to new replies.