Insert link to my thumbnail images

You may want to change your code to something like this: <a href=”https://wordpress.stackexchange.com/questions/83700/<?php the_permalink() ?>” class=”alignnone” title=”<?php the_title(); ?>”> <a href=”<?php the_permalink(); ?>” title=”<?php the_title();?>”> <?php if (has_post_thumbnail()) : ?> <?php the_post_thumbnail(); ?></a> <?php else : ?> <img src=”<?php bloginfo(‘template_url’); ?>/images/noimage.jpg” width=”213″ height=”187″ alt=””/> <?php endif; ?> </a> and I assume you’ve specified a Featured … Read more

I would like my posts to pull my custom cropped thumbnail instead of creating its own thumbnail from Featured Image

If your theme is using the_post_thumbnail() to display the featured image, adding the following code in functions.php file will display the Thumbnail size of the image (as set on Settings -> Media Settings): add_filter(‘post_thumbnail_size’, ‘my_thumbnail_size’); function my_thumbnail_size() { return ‘thumbnail’; } Or you can display the featured image in any width (X) or height (Y) … Read more

Title image is missing ( but is not the WP 3.5 issue )

you can try this filter add_filter(‘wp_get_attachment_image_attributes’, ‘my_img_title’, 10, 2); function my_img_title($attr, $attachment = null){ $attr[‘title’] = get_post($attachment->ID)->post_title; return $attr; } It should give the the extra title attribute in the img tag. You can also use the ‘post_thumbnail_html’ filter to edit the html output. ps: here is a similar question: Display info from custom fields … Read more

Custom image sizes are not used

The function.php: if ( function_exists( ‘add_theme_support’ ) ) { add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 150, 150 ); // default Post Thumbnail dimensions } if ( function_exists( ‘add_image_size’ ) ) { add_image_size(‘homepage’, 704, 396, true); add_image_size(‘articles’, 1174, 660, true); add_image_size(‘in-post’, 568, 320, true); add_image_size(‘featured-post’, 1280, 683, true); } To make it appear in .php-file: <?php if ( … Read more