• Resolved brantchiou8

    (@brantchiou8)


    WordPress Popular Posts in Appearance => Widgets can be set to use different theme types. Such as card, card compact, cardview…..
    Excuse me, How to use short code to set theme type?

    Here is the short code I use:
    [wpp range=’all’ limit=5 stats_category=1 stats_views=1 order_by=’views’ thumbnail_width=50 thumbnail_height=50]

    https://abc1900.sg-host.com/wordpress-popular-posts/

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

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

    (@hcabrera)

    Hi @brantchiou8,

    In theory it is possible to use any built-in themes with the shortcode. Problem is that it’s not easy to set up practicality wise hence the reason why it’s not documented anywhere.

    Basically:

    1. You need to use the theme parameter to set the name of the theme that you want to use (eg. theme='cards').
    2. You’ll need to check the config.json file of the theme (eg. /wp-content/plugins/wordpress-popular-posts/assets/themes/cards/config.json) and then translate the settings you’ll see on that JSON file into [wpp] shortcode parameters.
Viewing 1 replies (of 1 total)
  • The topic ‘short code set theme type’ is closed to new replies.