Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using the list category posts plugin, and can't get the thumbnail_size parameter to work with a given pixel size. The parameter can be a word, but also a size in X- and Y-dimension, as I understand it. Can someone give me an example of how to write this? Thanks.

share|improve this question
    
Nika, can you tell me what kind of styling you added and where in order to get the text to wrap around the image nicely? It's not working on my website. –  user11906 Jan 10 '12 at 15:35
    
If you are using the 'list category posts' plugin, there is an option to the catlist command called 'template'. This plugin has a default template file, found in the plugin's folder, and called default.php. You can create a new folder called list-category-posts under under 'wp-content/themes/your-theme-folder' and put the default.php file there. To add styling you can either edit this file or create a new file. It must be in the same folder. Call it f ex news.php and use template=news in your catlist command. See wordpress.org/extend/plugins/list-category-posts/other_notes –  Nika Beridze Jan 14 '12 at 15:45
    
Try adding .lcp_catlist img { float: left; } in your style.css. –  Nika Beridze Jan 14 '12 at 17:31
add comment

migrated from meta.wordpress.stackexchange.com Dec 19 '11 at 16:39

This question came from our discussion, support, and feature requests site for WordPress developers and administrators.

1 Answer

What plug-in are you using to display the post thumbnails? This one works : http://wordpress.org/extend/plugins/wp-category-thumbnail/. It requires you to use the regenerate thumbnails plugin on existing images, but after you install it the thumbnails will be the size you specify. You might be able to install the regenerate thumbnails plugin to get the current plugin to work. If not try the one I linked to.

share|improve this answer
    
Thank you very much. I wasn't aware that I needed a plugin to display thumbnails. Thought it was builtin. I installed the regenerate thumbnails plugin, and it works, although I had to add styling to the "list category post" content in order to get the text to flow around the thumbnails. –  Nika Beridze Dec 20 '11 at 11:53
    
Regarding the first plugin you mentioned, WP Category Thumbnail, is it safe to test it while I also have activated 'list category posts' plugin? Our sites relies on the latter, but I could schedule a time at some late night hour to take the site down and test it. –  Nika Beridze Dec 20 '11 at 11:54
    
They might conflict with each-other, so it's probably best to wait for a time when it's ok to deactivate the current one. If you provide a link to the one you're using I'll test it out. I did a search for the one you're using but several similar ones popped up and I didn't know which you were using. –  Jeremy Jared Dec 20 '11 at 16:33
    
    
It's called 'list category posts'. Sorry, forgot an 's'. Here's the link: wordpress.org/extend/plugins/list-category-posts –  Nika Beridze Dec 22 '11 at 12:21
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.