How to add custom classes to figure element only if image has caption?
Related Posts:
- Remove title attribute from images
- How to display a shortcode caption somewhere other than the_content
- Alter image output in content
- How to filter the image embed code based on link type
- Add custom text in the media library image meta area
- How to get title of images in post content
- How might one programmatically set the link for all images in all posts?
- Filter to remove image dimension attributes?
- Get Image Description
- Set default image link target in Gutenberg image block
- Is there a hook which fires after all thumbnails are generated?
- How to have different captions for same image, for galleries?
- Featured image shortcode
- Change WordPress image URLs via filter
- Always use for post images
- Change html structure of all img tags in WordPress
- Default Image Link Removal
- How to wrap WordPress image captions inside H2, H3 tags?
- hook into completed image upload filter
- Saving the pre-sanitized filename of an attachment as the Title or Caption
- Need help building a filter to edit the output of “image_send_to_editor”
- Is there a way to define a default caption to all uploaded images
- Filter Media Library by author or post_parent
- Preview Image Path in Admin Section
- How to add a link in a image’s caption?
- Alter media caption/description conflict in WordPress?
- Caption in Page adding unwanted 10px to width
- How can I remove the image attachment ALT field?
- add data-attribute to all images inside the_content()
- Filter to modify post_title after image upload?
- Wrap all post images inside a div element
- Adjust image caption within visal editor
- Drag images with caption in WP editor
- Change html structure of all img tags in WordPress
- Different captions for the same image in multiple galleries. Edit Image in Gallery locally
- Include captions
- Disable wordpress image sizes generation
- Extend core block attributes in post content
- What’s the proper way to use the get_image_tag filter?
- Can I the caption shortcode to set caption to a data attribute, and with the image’s alignment intact?
- HTML tags in WordPress image caption
- Add attribute to caption shortcode from custom attachment field
- How to get image ID to use inside wp_read_image_metadata()?
- Add “data-” attribute to image links
- How to retrieve the postID in a “image_send_to_editor” hook function?
- Removing height and width from images with a caption
- Is there any action/filter hook to use when an image gets edited in the editor?
- Include caption underneath post images
- Turn off image captions in gallery view?
- How to create ‘Local’ filters for WordPress srcset sizes in template parts?
- How to change image atributes right before an image to be saved?
- Move Image Captions Inside Link ( tag) if Added
- Change align classes for images
- Replace image caption with its title and description
- WP 5.3 Removing Default WordPress Image Sizes
- Generate images to be associated for tag and category?
- Omit image captions from get_the_content()
- Include WooCommerce 2’s prettyphoto scripts on all site pages
- Filter for post_thumbnail: link to small src and add data-attribute [duplicate]
- Remove Image Sizes in Media Settings Page
- How can I use wp_save_image_editor_file filter?
- How to stop WordPress from completely overriding my tags in my templates?
- Force default OG:Image – Yoast SEO [closed]
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- Prevent WP from wrapping html in caption shortcode after ‘image_send_editor’ filter is applied
- How can I change the to for lazyload wp smilies
- Random home page background images with caption text
- How to edit caption for images and exclude it from excerption query?
- Place image caption outside of figure tag (Gutenburg Image Markup)
- How to display a warning when an uploaded image is too small?
- How to join Caption AND Description Meta Fields as one combined-caption in Image Block
- How to change an image source when rendering on frontend?
- How to change Gallery image url in product page ? In function.php?
- How to generate alt attributes with php / filters?
- how automatically show the image title before the image caption/description in a wordpress gallery?
- How to Display Image Caption but Not Alt Text
- Wrap post images with a link, not figure (image_send_to_editor doesn’t work)
- How to auto add image caption from image alt?
- How to trigger “wp_handle_upload_prefilter” filter when uploading an image programatically?
- Generate links on all images in posts – is there a hook?
- Is there a way to create referable automatic numbering in image captions?
- js alert in add_filter function for image_send_to_editor
- Dinamically modifying attributes of images on posts
- Displaying “alt” attribute text as captions?
- How to attach post ID to image links in WordPress tinymce editor
- image_send_to_editor filter – Unwanted paragraphs and line breaks
- Image filter works on attachement pages but not posts. I can’t get the image ID
- Surround uploaded image link with div
- page displaying media caption shortcodes
- Removing image dimensions from `the_content`
- Rename uploads filenames to POST-ID on upload
- How to add a credit line to a photo caption
- Wrap a post image with a div if it doesn’t have a caption
- Custom filename when pasting an image from clipboard
- I tried to move the featured image below the paragraphs but now it is displaying twice
- How to add a link to media file for every image inserted in content?
- Profile Image displaying on Wrong side of WordPress Navigation Menu
- Getting alt text of featured image
- WordPress reduces the full size image and uses it as the original
- Alt Image WordPress [closed]