Thumbnail size problem Desktop vs Mobile site
Thumbnail size problem Desktop vs Mobile site
Thumbnail size problem Desktop vs Mobile site
Thumbnails not being generated for PDF files
WordPress stopped generating image thumbnails after changing hosting environment
First Image not loading on Mobile Version of Website
So after a bit of testing I figured out what was wrong. It’s the fact that I used numbers in the custom size name. WordPress created the custom image sizes fine when I uploaded images. All custom sizes were in my FTP directories and had an extension of 250×250. The problem is in calling the … Read more
Tag,php – how to get it to display featured post image? [closed]
These are included in wp-settings.php right after after_setup_theme hook and so should be available starting with init hook. Also check if you have add_theme_support( ‘post-thumbnails’ ); declared in your theme, otherwise these functions won’t be included at all.
You need to call it in your theme. open your theme index.php or better if you have loop.php and inside the loop add <?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. the_post_thumbnail(); } ?> Hope This helps.
You cant without editing core files but you can name it any way you want so you can call it from you plugin: if ( function_exists( ‘add_image_size’ ) ) { add_image_size( ‘my-plugin-thumb’, 220, 180, true ); } and call it if ( has_post_thumbnail() ) { the_post_thumbnail( ‘my-plugin-thumb’ ); } it’s not perfect but its something.
use this plugin instead. Always work for me 🙂 http://wordpress.org/extend/plugins/regenerate-thumbnails