Support » Plugin: WordPress Popular Posts » Most Popular Page (Not Post)

  • Resolved jingya

    (@jingya)



    (I was mean to select version 3.2.2 but it was not there.)
    The intro of this plugin said it can be either most popular page or post, but the instructions are all about posts not PAGES.
    Another thing is, although I added “wp_head();” in front of </head> in the theme header.php file, it still says no data so far, why?

    https://wordpress.org/plugins/wordpress-popular-posts/

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

    (@hcabrera)

    Hi there!

    Yes, the plugin can list popular pages as well. The method varies depending on how you’re using it:

    • If you’re using the widget, go to Widgets > WordPress Popular Posts. You’ll find the Post type field under Filters where you can define page as the post type.
    • If you’re using either the [wpp] shortcode or the wpp_get_mostpopular() template tag, use the post_type parameter. For example:
      <?php
        if ( function_exists('wpp_get_mostpopular') )
          wpp_get_mostpopular("range='monthly'&post_type='page'");
      ?>

    … although I added “wp_head();” in front of </head> in the theme header.php file, it still says no data so far, why?

    Can’t tell unless you post your site’s URL.

    Plugin Author Hector Cabrera

    (@hcabrera)

    (I was mean to select version 3.2.2 but it was not there.)

    What you selected was your WordPress version 😛

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Most Popular Page (Not Post)’ is closed to new replies.