WordPress.org

Support

Support » Plugins and Hacks » Upgraded to WP 3.4 and the thumbnails on my home page stopped working

Upgraded to WP 3.4 and the thumbnails on my home page stopped working

  • cip6791
    Participant

    @cip6791

    I’m using Auto Featured Image plugin to generate thumbnails for my posts. After upgrading to WP 3.4 all the posts that had videos and thumbnails generated from youtube disappeared. I found another plugin called Video Thumbnails which created the thumbnails for all video posts but now the thumbnails are not showing on the home page. Does anybody know why this is happening? The below code was used for the thumbnails:

    <?php
          	if ( has_post_thumbnail() ) { ?>
           	<?php
                   	$imgsrcparam = array(
    		'alt'	=> trim(strip_tags( $post->post_excerpt )),
    		'title'	=> trim(strip_tags( $post->post_title )),
    						);
                        	$thumbID = get_the_post_thumbnail( $post->ID, array(235,235), $imgsrcparam ); ?>
                            <a>" class="preview"><?php echo $thumbID; ?></a>
                        	<?php } ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button.]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Upgraded to WP 3.4 and the thumbnails on my home page stopped working’ is closed to new replies.