Added Custom Size on Your Post Thumbnails


Sponsored Links






Chadcoleman created wonderful tutorials, how to added Custom Size Post Thumbnail. All we need to do only put some functions and use it whatever and whenever you want.

Custom Size Thumbnail - Avril Lavigne

Custom Size Thumbnail - Avril Lavigne

Added this code on your functions.php

if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
	add_theme_support( 'post-thumbnails' );
	set_post_thumbnail_size( 50, 50, true ); // Normal post thumbnails
	add_image_size( 'my-custom-size', 405, 180, true );
}

That it’s, you have new custom size for you thumbnail and you can call it with Post Thumbnail Tricks

Subscribe to Full RSS Feed

RSS FeedIf you thing this article useful, please consider subscribing to our RSS Feed or e-mail updates and stay updated with us. You can also follow @WPTricksNet on twitter for latest updates.

About WP Tricks

We are WordPress Family, we collected and writed useful tips and tricks for you WordPress. We share it for you...

Related Tips and Trick from Local Data and on The Net

How To Enable support for featured images in your WordPress theme

Like we all know Featured Images is new features that currently have on WordPress 3, using this feature we can added featured images more easily. To Enable Enable support for featured images in your WordPress theme you need write down … Read More

Regenerate Thumbnails WordPress Plugin

If you need to fix your WordPress Thumbnail, you should download Regenerate Thumbnails WordPress Plugin, using this plugin you can fix your thumbnail problem. Why we need this plugin? Sometimes we need to change the thumbnail dimensions, examp

Post Thumbnail on RSS Feed

Jeff Starr give nice tricks how To Added Post Tumbnail in our RSS Feed, and I will show you on today wordpress tips. This code only need tiny hack, we put some code in our functions.php and the code will … Read More

It’s All About Post Thumbnail

WordPress 2.9 built in new features, like Online Image editor and Post Thumbnail, On this post I will give some information about post that coverage Post Thumbnail, So, if you need to know about Post Thumbnail and add your theme … Read More

How To Display Custom Content to Search Engine Visitors

There are so many WordPress blog, some of them added unique features, right now I will show you how to display custom content to Search Engine visitors only, You can replace what do you want to be added on Search … Read More

Modify Custom excerpt length

On WordPress 2.9 there are new featured that we can added on the_excerpt(), one of them is change the excerpt length. How to modify Custom excerpt length is really simple. We only needed to put some function on our functions.php … Read More

Added Custom Size on Your Post Thumbnails / WordPress Tricks & Tips

Daily The Best WordPress Tricks and WordPress Tips to make your WordPress nice read more

Source: http://wptricks.net/added-custom-size-on-your-post-thumbnails/

It's All About Post Thumbnail / WordPress Tricks & Tips

Added Custom Size on Your Post Thumbnails. Chadcoleman created wonderful tutorials, how to added Custom Size Post Thumbnail. All we need to do only put some functions and read more

Source: http://wptricks.net/its-all-about-post-thumbnail/

New in WordPress 2.9: Post Thumbnail Images | Mark on WordPress

of your post thumbnails Added in 2.9 add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 50 the custom thumb size like : single-post read more

Source: http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/

Set Wordpress Post Thumbnail with custom size & cropping | InTechgrity

size to enable post thumbnail and set custom image size with file of your theme template. add_theme_support( 'post-thumbnails' ); see, how to use the custom added read more

Source: http://www.intechgrity.com/setting-post-thumbnail-on-wordpress-with-custom-size-and-cropping-a-simpler-approach/

Post Thumbnails multiple sizes - WordPress - Stack Exchange

add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 200, 200, true to get the sizes to work: To call a custom size that you added do this: read more

Source: http://wordpress.stackexchange.com/questions/6375/post-thumbnails-multiple-sizes


2 Responses to Added Custom Size on Your Post Thumbnails

  1. Pingback: Tweets that mention Added Custom Size on Your Post Thumbnails # WordPress Tricks & Tips -- Topsy.com

  2. Cool! I wanted to add a news section on my site, and I need custom sized thumbs for that.
    I’ll see to give this one a go if I do not find a plug-in.
    Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>