Hi there!
Please elaborate a bit more. If you’re using either the [wpp] shortcode or the wpp_get_mostpopular() template tag, post your code here so I can check it out.
Hi Hector, I have fixed this issue, however, can you please tell me how to make the thumbnail sizes bigger?
Thanks,
Steve
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.)
Hi Hector.
I found the parameters. So where should I paste the thumbnail_width and thumbnail_height parameter to?
Cheers,
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.
Yes, I realiesd last night that all the setting were under the widget options. However, is there a way to add spacing between thumbnails?
Yep. Try the following:
- Go to Plugins > Editor and select WordPress Popular Posts from the dropdown.
- Click on wordpress-popular-posts/style/wpp.css to edit plugin’s stylesheet.
- Find:
.wpp-list li {
/* display: inline-block; */
float: none;
clear: left;
}
… and change it to:
.wpp-list li {
overflow:hidden;
float: none;
clear: both;
margin-bottom: 5px;
}
- 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.