It appears that your site doesn’t use the core WordPress Featured Image feature but instead uses a custom image field (probably from Advanced Custom Fields). Yoast’s plugin, Jetpack, and presumably many others look for the Featured Image image when setting the opengraph meta tag. So you have two options:
- Use the core Featured Image feature with one of the plugins that adds the featured image to an opengraph meta tag
- Change your meta property to use the ACF field:
<meta property="og:image" content="<?php $featuredImage = get_field('featured_image'); echo esc_url( $featuredImage['url'] ); ?>" />
Aside: if your featured image (however it’s implemented) has any meaning and is not “purely decorative,” make sure your site supports a way to give it appropriate alt text for accessibility.
Related Posts:
- Correctly implementing the Facebook Like button
- WordPress Facebook Open Graph plugin not working for 1 specific image [closed]
- How can you upload an image from within a settings page?
- WordPress Post featured image URL in the header
- Open graph problem: Showing wrong description of homepage while sharing on Facebook [closed]
- alt tags of the images are not saving/emtpy
- Why does Google Image Search still display my images?
- Regex expression for redirecting image URLs to another folder
- Sharing images to social media – issue with aspect ratio
- Facebook og:image issues after https change [closed]
- Is there a way to add a featured image to an image/file attachment page?
- How to make Facebook share the featuterd image from url on WordPress
- Tried everything but Facebook share button won’t load the post thumbnail
- Open graph issue on my theme
- Programmatically adding images to media library
- Prevent WordPress from generating medium_large 768px size of image uploads?
- Image quality based on image size
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- How to set the default embed image size
- Creating a rotating header /image slider using theme customization
- Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)
- Double thumbnails?
- No srcset for hard-cropped thumbnails
- Slider image issue in wordpress
- Getting custom size image URL
- Open graph metadata isn’t pulled on Facebook until after I run that specific link through the debugger
- Retrieving images from a NextGEN gallery
- Query for recent images across multiple posts
- Getting alt text of featured image
- Get image alt attribute just by image URL
- Is there a way to get attachment data?
- How to resolve – IE 6 ignores img “width” properties
- WordPress is stripping the Alt tag’s quote marks from images where Alt is not set, but leaving the word ‘alt’ creating problems for ADA compliance
- WordPress reduces the full size image and uses it as the original
- Show taxonomy list with taxonomy images ( SOLVED)
- get_children() not working properly – Only on one post?
- How to get full absolute url for post attachment?
- Warning: getimagesize() [function.getimagesize]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 [closed]
- Is There A Way Of Using the_post_thumbnail() to Pull In A Specific Image From The Media Library
- How to add data attribute to all images in posts [closed]
- Output random (custom) image size
- WordPress crops images differently on retina screens?
- Image thumbnails not available post migration, but still accessible via direct URL – DB issue
- How do I create an alternate RSS feed for tags with custom image sizes for MailChimp?
- Exclude images from “inserted into post” when trying to get attachments
- Set jpeg_quality for certain post-types
- WordPress automatically downscaled images larger that original
- Move Image Captions Inside Link ( tag) if Added
- How to add custom classes to figure element only if image has caption?
- I got an issue after i migrated a site
- How to add an image to a custom url?
- How to add images to a post without inserting them into the content area of the post editor?
- Is it possible to reduce image filesize on the fly (when users enter my website)?
- Why WordPress strips scr string from img tag off?
- Random image loader
- insert image alongwith with custom data via a frontend form
- Create a link to full-sized image attachment?
- Get image path : image is upload but not attached
- What sense makes medium_large_size_h => 0?
- Emoticons not working on my site
- limit number of images shown from gallery
- Graphics and Formatting Not Loading in WordPress on IIS
- How to Automatically import external images to Upload
- Fullscreen Page Background without Plugin [closed]
- Allow a specific user role I have created to only upload one image to his media library
- how to regenerate webp et-pb-portfolio-image
- How do I avoid color distortion of uploaded images?
- When upload a PNG a noise appears in the thumbnails
- How to auto add image caption from image alt?
- How to stop TinyMce from converting image url into ?
- How to automatically load an image inside the post, since it is present in uploads folder
- Decide how Hero image appears on mobile
- Broken images/videos after migration – DIVI theme- works ok on Mac OS
- Can’t figure out how to get space around an image? [closed]
- Show images from TEXT section on PAGE wordpress
- Where to add my code to auto attach images to existing products
- Set WordPress to Create different images format later, not during upload
- If file exists with page slug name show image else nothing
- How might one programmatically set the link for all images in all posts?
- page displaying media caption shortcodes
- Display different Images depending on the current day
- How to add a credit line to a photo caption
- Uploading Images for a section
- Some images suddenly not appearing
- Paginate Gallery [closed]
- WordPress: Preload next post images
- Set add_image_size() greater than content width in media box
- Remote Image (from URL) as Media Library element
- Theme using masonry layout script rendering overlaped images in Google Chrome [closed]
- Why is inline CSS added to images automatically? [closed]
- Delete all thumbnails & regenerate them?
- Can I turn an image into a button?
- Why are some SVG-images not visible in my footer?
- How To Get Feature Image from Blog in Same WordPress Multisite Blog on the Parent Blog?
- WPALLIMPORT Exporting images from repeater field [closed]
- Gutenberg block HTML image rendering override
- image_get_intermediate_size always returns false
- Change of displayed images for webp versions
- How do I add text or a message below the featured image in wordpress?
- CSS how to target the caption of one individual image?