New answers tagged images
0
votes
Adding caption to all images inside an article
I'm not 100% sure if I understand your question 100%, but WordPress, by default, displays the caption if it's filled on the image. Then it displays it just below the image once the image is inserted.
...
1
vote
Accepted
How to add embed image in comments?
You can do that by using the comment_text filter. It runs for each comment, so with some regex you can find all links in the comment and loop through them. You make one more check to make sure the ...
0
votes
how can I change all wordpress media file url to custom cdn url?
You can place this in your functions.php file:
add_filter('wp_get_attachment_url', 'replace_media_url');
function replace_media_url($url) {
$custom_url = 'https://mybucket.nyc3.cdn....
1
vote
Accepted
How do i display the number of images on the "post screen"
The code below suggests one approach to handling the display of a post image count on the Post Edit List screen (edit.php). The function names provide an outline of what the code is doing. References ...
Top 50 recent answers are included
Related Tags
images × 3531post-thumbnails × 446
uploads × 443
attachments × 273
plugins × 217
php × 213
media × 212
gallery × 198
posts × 189
media-library × 184
functions × 163
thumbnails × 145
customization × 135
theme-development × 125
css × 106
filters × 89
urls × 81
custom-post-types × 80
responsive × 80
custom-field × 78
plugin-development × 70
themes × 70
woocommerce-offtopic × 55
cropping × 55
shortcode × 52