Logo is not being displayed in header (Twentytwelve)

Replace the image code with the below one. Actually you are giving the root path in your image source but the image is in your theme folder. Also check if the images folder name is image or images. <img src=”https://wordpress.stackexchange.com/questions/159297/<?php bloginfo(“template_directory’); ?>/image/logokovil.png” alt=”logo” height=”100″ width=”100″>

Display cropped thumbnail not featured image

If I understand correctly, you can try with this code. add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 252, 252, true); //enter code here if ( has_post_thumbnail()): the_post_thumbnail(); endif; OR if ( has_post_thumbnail()): the_post_thumbnail(array(252, 252)); endif;

Auto-crop width, not height

WordPress cant do it alone. You need a script called Timthumb.php to do it. This is really simple to use. Check it out: https://code.google.com/p/timthumb/ And the best: wordpress will not store multiple versions of your images when crop. It will be done by the script on demand.

Image and shortcode not showing in excerpt

To get shortcodes to work in the excerpt you’ll have to add a filter to your functions.php file (found inside your theme folder). add_filter(‘the_excerpt’, ‘do_shortcode’); Your other question about the images not showing is hard to answer without knowing how your theme code is like. It has to do with how your designer build the … Read more

Thumbnails different sizes

You’re over-complicating your thumbnail code; all you need is this: if ( has_post_thumbnail () ) { the_post_thumnail( ‘preview-thumb’ ); } else { …. The problem with your version is that get_post_thumbnail_id() doesn’t accept a size parameter, so that information gets thrown away. Luckily, the_post_thumbnail() does everything you need without having to fetch the url and … Read more

Image upload error?

There is nothing like answering your own question. After more testing I have found that increasing the PHP memory_limit fixed the issue. Which would all make sense, the larger resolution of the image means more processing to compile the different sizes when uploading and saving the image. I increased it to 96M and problem gone.

How to change the value “uploaded to” in the media library (WordPress 4.0)

You’ll need to do 2 things. First, filter the current media columns. add_filter(‘manage_media_columns’ , ‘newMediaColumnNames’); function newMediaColumnNames( $columns ) { //remove the old column – optional unset( $columns[‘parent’] ); //add a new one to take it’s place $columns[‘new_uploaded_to’] = __(‘New Uploaded To’); return $columns; } I was not able to find a way to edit … Read more