0

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.

3
  • 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, 2012 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 Jan 14, 2012 at 15:45
  • Try adding .lcp_catlist img { float: left; } in your style.css. Jan 14, 2012 at 17:31

1 Answer 1

1

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.

6
  • 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. Dec 20, 2011 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. Dec 20, 2011 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. Dec 20, 2011 at 16:33
  • It's called 'list category posts'. Sorry, forgot an 's'. Here's the link: wordpress.org/extend/plugins/list-category-posts Dec 22, 2011 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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