• Resolved Kalimataji

    (@pyramid)


    Hi!

    First I want to thank you for making this great plugin. I am mostly going to use is as a top list on a page but the standard [wpp] only shows title, 10 posts and the view count. How do I add more posts to the list and perhaps a thumbnail?

    I am not super code savvy so I would truly appreciate a couple of examples that I can play around with. Many thanks!

    https://ww.wp.xz.cn/plugins/wordpress-popular-posts/

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

    (@hcabrera)

    Hi there!

    The [wpp] shortcode uses the same set of parameters as the wpp_get_mostpopular() template tag (see Settings > WordPress Popular Posts > Parameters for a comprehensive list).

    For example, to display more posts you should use the limit parameter:

    [wpp limit=15]

    To display thumbnails you need to specify their width & height, otherwise WPP won’t display them. For example:

    [wpp limit=15 thumbnail_width=75 thumbnail_height=75]

    Hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘Shortcode examples’ is closed to new replies.