Latest news mini images

As mentioned above, this link can help you on your way: http://codex.wordpress.org/Post_Thumbnails You need to add thumnail sizes to your functions.php like: the_post_thumbnail(); // without parameter -> Thumbnail the_post_thumbnail(‘thumbnail’); // Thumbnail (default 150px x 150px max) the_post_thumbnail(‘medium’); // Medium resolution (default 300px x 300px max) the_post_thumbnail(‘large’); // Large resolution (default 640px x 640px max) the_post_thumbnail(‘full’); … Read more

Crop featured image by default

try this define a custom image size (add_image_size) add_image_size(name,w,h,true); where w and h for height and width of your image.and fourth parameter true for hard croping of image.read wordpress codex for that put your custom image size name in the_post_thumbnail function the_post_thumbnail(‘name’) or if your design is not responsive then you can set image size … Read more

Featured image in admin on custom post type

I tried both codes and they worked for me, first I added this code add_filter(‘manage_posts_columns’, ‘bootpress_slider_columns’); function bootpress_slider_columns($defaults) { $defaults[‘featured_image’] = ‘Featured Image’; return $defaults; } and it added column both in custom post type and on posts Then I followed this link manage_${post_type}_posts_columns my post type is “slider” the below code worked for me … Read more