How to exclude an image from og:image (open graph) meta tag
-
Hi,
I have a site with WP 3.6.1 and WP SEO 1.8.14. On the home page I have placed 3 static images with basic <img> html code and by default the WP SEO plugin is creating 3 og:image meta tags containing these images. More over I haved added an extra og:image meta tag with the logo of the site. So now in the home page I have 4 og:image tags as follows:
[ Moderator note: please wrap code in backticks or use the code button. ]
<meta property="og:image" content="https://www.domain.com/img1.jpg"/> <meta property="og:image" content="https://www.domain.com/img2.jpg"/> <meta property="og:image" content="https://www.domain.com/img3.jpg"/> <meta property="og:image" content="https://www.domain.com/logo.jpg"/>
Is there any way of excluding these 3 static images from og:image tags? I need to have only one og:image tag and be able to control it from a meta-tag plugin.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to exclude an image from og:image (open graph) meta tag’ is closed to new replies.