Custom image size in Media Dropdown

The above problem got fixed after regenerating the thumbnails and by using the following function. function mytheme_image_size_names( $sizes ) { $sizes[‘blog_body_img’] = __( ‘Blog Body Image’, ‘isaumya’ ); return $sizes; } add_filter( ‘image_size_names_choose’, ‘mytheme_image_size_names’, 11, 1 );

How to show category images (from plugin) on a regular page (page-example.php)?

Untested, but something like this should work. $siteurl = home_url(“https://wordpress.stackexchange.com/”); $tax = ‘region’; // slug of taxonomy $terms = get_terms($tax); foreach ($terms as $term) { $id = $term->term_id; $slug = $term->slug; $description = $term->description; $image_url = z_taxonomy_image_url( $id, NULL, TRUE ); $link = “<a href=”https://wordpress.stackexchange.com/questions/176555/$siteurl?$tax=$slug” ><h1> $term->name </h1></a>”; echo $link; echo ‘<p>’ . $description . … Read more

Remove dimensions from filename featured image

In addition to creating additional dimension, WordPress does keep your original image. Your original image is in this link http://whatweblog.com/wp-content/uploads/2015/05/hue.gif So, instead of stopping WordPress from creating additional dimension, you should retrieve the full image when displaying the featured image. You can get the full image with this – the_post_thumbnail(‘full’); In your case, change <?php … Read more