• Resolved Naijaremix

    (@naijaremix)


    Hello please I need help on how to make the post list five popular posts in the last 24hours with shortcode.

    Thanks

    The page I need help with: [log in to see the link]

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

    (@hcabrera)

    Hi @naijaremix,

    You can use the range parameter to get the most popular posts from the last 24 hours (see Settings > WordPress Popular Posts > Parameters for more.)

    For example:

    [wpp range='last24hours' limit=5]

    Thread Starter Naijaremix

    (@naijaremix)

    Thanks when I use that, it shows almost 20 post at once, how can I reduce the number of posts to 5 or less thanks

    Plugin Author Hector Cabrera

    (@hcabrera)

    Recheck my comment from above ??

    Thread Starter Naijaremix

    (@naijaremix)

    Working now, is there a way I can remove the views in the listed posts?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Yes, you can use the stats_views parameter to show (1) or hide (0) the views count:

    [wpp range='last24hours' limit=5 stats_views=0]

    You’ll want to have a look at the list of available parameters –as I suggested earlier– to save yourself some time.

    If you have any other questions don’t hesitate to ask, OK?

    Thread Starter Naijaremix

    (@naijaremix)

    Thanks so much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Help with limiting post with shortcode’ is closed to new replies.