Title: Shortcode
Last modified: August 30, 2016

---

# Shortcode

 *  Resolved [steverit](https://wordpress.org/support/users/steverit/)
 * (@steverit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/)
 * Hi, I have just installed this plugin onto my wifes website. We can not get the
   words “popular posts” to display. Possibly because we need a Text widget with
   shortcode. I need to know what shortcode would need to be added to get the popular
   posts widget to display in the sidebar below “Instagram”
 * Website is [http://www.alwaysmadewithlove.co.nz](http://www.alwaysmadewithlove.co.nz)
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/#post-6229731)
 * Hi there!
 * Please elaborate a bit more. If you’re using either the [[wpp] shortcode](https://github.com/cabrerahector/wordpress-popular-posts/wiki/1.-Using-WPP-on-posts-&-pages)
   or the [wpp_get_mostpopular()](https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#wpp_get_mostpopular)
   template tag, post your code here so I can check it out.
 *  Thread Starter [steverit](https://wordpress.org/support/users/steverit/)
 * (@steverit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/#post-6229786)
 * Hi Hector, I have fixed this issue, however, can you please tell me how to make
   the thumbnail sizes bigger?
 * Thanks,
 * Steve
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/#post-6229787)
 * Hey Steve,
 * To set the size of the images, use the `thumbnail_width` and `thumbnail_height`
   parameters (check _wp-admin > Settings > WordPress Popular Posts > Parameters_
   for more details.)
 *  Thread Starter [steverit](https://wordpress.org/support/users/steverit/)
 * (@steverit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/#post-6229788)
 * Hi Hector.
    I found the parameters. So where should I paste the thumbnail_width
   and thumbnail_height parameter to?
 * Cheers,
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/#post-6229799)
 * It seems you guys are using the widget, so just go to _Widgets > Plugins_ and
   set your desired image size using the widget’s options.
 *  Thread Starter [steverit](https://wordpress.org/support/users/steverit/)
 * (@steverit)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/#post-6229808)
 * Yes, I realiesd last night that all the setting were under the widget options.
   However, is there a way to add spacing between thumbnails?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/#post-6229811)
 * Yep. Try the following:
    1. Go to _Plugins > Editor_ and select _WordPress Popular Posts_ from the dropdown.
    2. Click on _wordpress-popular-posts/style/wpp.css_ to edit plugin’s stylesheet.
    3. Find:
    4.     ```
           .wpp-list li {
             /* display: inline-block; */
             float: none;
             clear: left;
           }
           ```
       
    5. … and change it to:
    6.     ```
           .wpp-list li {
             overflow:hidden;
             float: none;
             clear: both;
             margin-bottom: 5px;
           }
           ```
       
    7. Hit the _Update file_ button to save changes.
 * Note that editing plugin’s files directly isn’t recommended because any changes
   made to it will be lost after upgrading to a newer version. To avoid losing these
   changes, copy the _wpp.css_ stylesheet (located at _wp-content/plugins/wordpress-
   popular-posts/style/_) into your theme’s directory.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Shortcode’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-292/#post-6229811)
 * Status: resolved