How to replace featured image upload option with the post media image option
How to replace featured image upload option with the post media image option
How to replace featured image upload option with the post media image option
You may be able to make this work with a filter on post_thumbnail_html. function filter_thumb_html($html, $post_id, $post_thumbnail_id, $size, $attr ) { $dimensions = wp_get_attachment_image_src($post_thumbnail_id, $size); if ($dimensions[1] > 500 || $dimensions[2] > 500) { return ”; } } add_filter(‘post_thumbnail_html’,’filter_thumb_html’,1,5); I am not sure what you mean by “if it is larger/smaller…”. I don’t know if … Read more
Cleaning up bloated wp_postmeta table by removing multiple _thumbnail_id’s?
wp_get_attachment_image_src match smallest edge
“Medium” size image displayed instead of “thumbnail” in only one post, other posts are fine
Featured image not working, because of custom user role?
In general avatars can not be a replacement to attachments unless you have a pluging which forces all avatars to be uploaded via the wordpress upload process to the site (or in other words, be included in the media library). Avatars can be any URL while attachments have an id in your DB. Therefor your … Read more
From my understanding on how WordPress crops, it’s not going to stretch your image to a certain size, so if you upload an image that is 300px wide, it isn’t going to stretch the image to 400px, it will keep that width and proportionally create a height. Make sure that Crop thumbnail to exact dimensions … Read more
Have a look at http://codex.wordpress.org/Customizing_Feeds and try using a template for your feed. There are a variety of ways to customize your feeds, through the use of third-party software you install and add-on to your WordPress site, or by manually changing the feed templates to meet your needs. Find a tutorial here http://gregrickaby.com/custom-rss-template-wordpress/. There registering … Read more
Is there some plugins that allows you to regerate images size via media library and not regenrate all, look at second shot: https://wordpress.org/plugins/regenerate-thumbnails/screenshots/ Also it does multiple image selection.