Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
2 answers
1k views

WP SEO by Yoast - How to change og:image size?

I want to change the og:image that Yoast SEO generates, to some custom height and width (eg 1200x630) because I'm uploading very large images. I've tried adding this code in functions.php but doesn't ...
Sor's user avatar
  • 1
2 votes
1 answer
1k views

OpenGraph Tags are not working for links to our website on Discord

I posted this to reddit as well asking the same thing. Here are some picture examples of them working & not working... This is posting the links on twitter. You can see 2 links work, 1 does not. ...
Erin's user avatar
  • 29
0 votes
1 answer
91 views

Facebook OpenGraph images are not loaded (in preview box only!)

For a month Facebook sharer does not show the featured image of any posts of my Wordpress sites in the sharer (preview) box. I am experienced with the sharer function and have been using it for 5 ...
Fodel Estates's user avatar
0 votes
1 answer
170 views

Facebook Open Graph Not Working/Showing as a blank page

I've been having some difficulty with sharing my site on social media - https://nobetterdan.com/. When I do, it shows just the URL and nothing else. Some background information: Running: WordPress 5.7....
nobetterdan's user avatar
0 votes
1 answer
170 views

NuxtJS load component Open graph meta with json response

I'm working on a nuxt.js project, and I have a page loading content (basically a text) from a WordPress post, with an $http request on create() Hook. I'd like to use the title as og:title meta, but I ...
Nicolas Gruwe's user avatar
2 votes
1 answer
1k views

Add an OpenGraph tag in WooCommerce single product pages

I have to add Product SKU to Woocommerce metatags product page (Facebook OpenGraph). I've tried to add global $product; echo "<meta property='og:id' content='".$product->get_sku().&...
Huraganek's user avatar
0 votes
1 answer
273 views

Unable to dynamically modify content of a page in WordPress

I need to change some opengraph attributes on a specific page based on the query string. I tried to use some filters based on a installed plugin in the functions.php: function update_the_og_title($...
Real Noob's user avatar
  • 1,483
-1 votes
1 answer
199 views

Unexpected page redirection from HTTPS to HTTP

I was testing a page with Twitter Cards and for the provided URL (I'm simplifying the URL but the output is valid) using Twitters card preview tool: https://example.net/hello/test-page/ It was ...
donohoe's user avatar
  • 14k
0 votes
0 answers
44 views

some custom posts do not show url preview in facebook while some does

I have created a wordpress plugin that fetches data from a API and creates custom posts. Also i have set featured image to post from data taken from the API. My problem is some posts show the url ...
CraZyDroiD's user avatar
  • 6,993
0 votes
1 answer
220 views

How to force og:image to be cropped from bottom?

I have trouble with facebook, twitter, mix.com basically with every social site. When I share my post all my images are automatically cropped from the center leaving peoples on images headless. How to ...
Temple Derr's user avatar
0 votes
1 answer
251 views

Add custom text to WP Title

I am able to add a custom text to my title of a specified post id but it does not apply to my meta title and my rss feed title. It is seen only by the user on the current page. I tried using is_feed()...
Peter's user avatar
  • 1
0 votes
1 answer
143 views

Would having a fresh website with SSL already avoid Open Graph problem?

After adding SSL certificate, Facebook is unable to fetch open graph metadata on my site, even though they exist. Even when there is og:image:secure_url as suggested in this answer of FB OpenGraph og:...
Ooker's user avatar
  • 2,625
0 votes
1 answer
122 views

Had all relavant opengraph social meta (created by AIOS) but facebook debug failed to recognize

I know this is an old topic but I've digged dozens of related questions and solutions but neither of them works. Some of questions I've read: Can't fix: 'og:image' property should be ...
Huynh's user avatar
  • 392
0 votes
0 answers
656 views

How do I stop Yoast from using first image it finds on a page as its og:image?

I think I understand that the behaviour's expected to prioritise from a given individual page's overriding image, to the first image it can scrape from a page, to the site's default fallback image (...
lin.rit's user avatar
-1 votes
1 answer
2k views

Remove (Or) Empty Duplicate OpenGraph Induced By Unknown Plugin/Theme

I am trying to use Yoast SEO fully. But my theme or some unknown plugins are introducing another opengraph tag section overwriting Yoast's metadata. How do I eliminate the second duplicate set? Here ...
j smith's user avatar
  • 43

15 30 50 per page
1
2 3 4 5
12