Use an ACF Image When There Is No Featured Image
Makes WordPress treat an ACF image field as the featured image for posts that have none, so archives, related posts and social previews still get a picture.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Makes WordPress treat an ACF image field as the featured image for posts that have none, so archives, related posts and social previews still get a picture.
When a product is saved without a featured image but has gallery images, the first gallery image becomes its featured image, so it never shows a placeholder.
Fills the empty alt attribute of avatars with the display name of the user or commenter, so accessibility checkers stop reporting images without alt text.
When a featured image has no alternative text, outputs the post title as its alt attribute in themes and blocks, instead of leaving it empty.
Replaces the plain description box on the category and tag edit screens with the visual editor, and keeps headings, lists, images and links that WordPress would otherwise strip.
Adds a "wp a11y-scan" command that checks published posts and pages for images without alt text, empty links, iframes without titles, positive tabindex and skipped heading levels, and prints a table you can export.
Lists image blocks whose original file is larger than a size you set, such as 1 MB, in the block editor's publish panel, so heavy photos get replaced before they slow down the page.