Title: short code set theme type
Last modified: April 24, 2022

---

# short code set theme type

 *  Resolved [brantchiou8](https://wordpress.org/support/users/brantchiou8/)
 * (@brantchiou8)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/short-code-set-theme-type/)
 * 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/](https://abc1900.sg-host.com/wordpress-popular-posts/)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshort-code-set-theme-type%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/short-code-set-theme-type/#post-15588599)
 * Hi [@brantchiou8](https://wordpress.org/support/users/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](https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#parameters).

Viewing 1 replies (of 1 total)

The topic ‘short code set theme type’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/short-code-set-theme-type/#post-15588599)
 * Status: resolved