Thumbnails
  • knoxburyknoxbury March 2011
    Posts: 2

    I have installed your list category posts plugin and I'm using the following code (minus the bracket spaces) . . . but no thumbnails are showing up. Do you know if these work in 3.1? 

     

    [ catlist name="featured" thumbnails="yes" ]

  • kkrikkri April 2011
    Posts: 2
    Same problem, same code and WP 3.1. My site needs this plugin a lot, what to do?
  • thingzifearthingzifear July 2011
    Posts: 1
    I had this problem before and just found the solution

    Remove the letter 'S' from thumbnails

    thumbnail=yes]

    Now I need to find how to shrink the thumbnails to thumbnail size!
  • ryansmithsdryansmithsd July 2011
    Posts: 1
    I took the s off too but got this .... :(

    Fatal error: Call to undefined function has_post_thumbnail() in /home/content/53/7664253/html/wp-content/plugins/list-category-posts/include/CatList.php on line 195
  • jonsiejonsie August 2011
    Posts: 2

    Does your theme support thumbnails?  Originally mine didn't (even though I was running on WP 3.1, my theme didn't support it).  So I had to add


    add_theme_support( 'post-thumbnails' );


    to the top of my functions.php file (see http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/ for more info).


    After that (and after removing the 's' from 'thumbnails'!), it all worked.  :)  Good luck.

  • athanobsathanobs August 2011
    Posts: 1
    First I though that when creating a post and listing the other post on it will restrict the thumbnails to display... But thanks for being helpful guys..

    and this is what I did to have thumbnails displayed..

    add_theme_support( 'post-thumbnails' ); to my my functions.php of the template and removing the 's' from 'thumbnails'!) from the parameter.
  • roartexroartex August 2011
    Posts: 3
    can anyone assist in helping me to get my thumbnail outputting the same image?


    on my listing page using the List Categories plugin it is outputting my nicely cropped thumbnail.

    in my loop php template i'm using the following code to try and grab the image from the post and display it in my front end.  it is coming out with the non-cropped version of the image.  can anyone help with this please?  here is the code i am using within my "loop-single-templatename.php"  file:

    <img align="right" src="<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>" alt="" title="<?php the_title(); ?>"/>



    thanks for any help in advance
  • roartexroartex August 2011
    Posts: 3
    for anyone that comes up with the same issue as I had above, using this code will output your nicely cropped image into your detail page (loop-single-xxxx.php):

    <?php echo get_the_post_thumbnail($page->ID, 'thumbnail'); ?>
  • backyarder1backyarder1 September 2011
    Posts: 4
    I can't get my thumbnail to show up in thumbnail size. It shows the full size image. Any suggestions?
  • cehwithamcehwitham October 2011
    Posts: 1
    To get the post image to display as a thumbnail you need to edit catlist.php line 196.

    Change

    $lcp_thumbnail = get_the_post_thumbnail($single->ID);

    to 

    $lcp_thumbnail = get_the_post_thumbnail($single->ID,'thumbnail');
  • Tina_HTina_H October 2011
    Posts: 3
    @cehwitham Thanks so much for that solution!

    Do you know how to move the image to the left of the post link and move it down so its aligned with the text? 

    TIA!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID Sign In with Twitter Sign In with Google

Sign In Apply for Membership

In this Discussion

This Site is currently in maintenance mode.
Please check back here later.
→ Site Settings