New answers tagged post-thumbnails
0
votes
Change WordPress image URLs via filter
I always use these two filters for my local WP environment with a remote database connection:
add_filter('pre_option_upload_path', function ($upload_path) {
return '/wp-content/uploads/';
});
...
0
votes
Featured Video replacing Featured Image
WordPress does not have its own function for this yet.
You can do this with a plugin https://wordpress.org/plugins/search/Featured+Video/
0
votes
How to Make Thumbnail of Post Stay Animated
To keep the message thumbnail animated, it is common to use the GIF format for the image. You can find a step-by-step guide on the internet on how to achieve this. As for creating a deposit gif from a ...
0
votes
Fallback default image when there is no featured image
None of the above worked for me. Adding this to my child theme's functions.php causes a default image to be used on the front end for every post that has no featured image set:
function ...
0
votes
Thumbnail size problem Desktop vs Mobile site
I also got exactly this problem. This is not theme related, or, if it is, there is ALOT of themes with this problem.
Currently having the same issue on Oxygenbuilder pages.
Top 50 recent answers are included
Related Tags
post-thumbnails × 1603images × 448
thumbnails × 136
php × 110
functions × 100
posts × 93
custom-post-types × 81
uploads × 72
theme-development × 60
attachments × 55
plugins × 54
categories × 44
loop × 40
media × 40
custom-field × 39
media-library × 37
wp-query × 35
filters × 35
customization × 31
responsive × 26
themes × 25
post-meta × 23
cropping × 22
css × 21
hooks × 19