Checking if certain header meta data is set
Checking if certain header meta data is set
Checking if certain header meta data is set
Your function will only be called when there is something in$_GET[‘calc_submit_1’]. Means, when you submit the form, your function is triggered. When you refresh the page, and $_GET[‘calc_submit_1′] is empty, it won’t triggered. When FB checks for OG, FB will not submit your form and your function will not be triggered. You can use add_option … Read more
wp_get_attachment_image_url is not returning the good image size. The function need the name of the image size or a valid image size (1200 x 9999 is not a valid size, just the the way to tell add_image_size cropping definition). Then the scrapper will be able to scrappe your content. If think there is a minimum … Read more
Thank god, the problem is solved, i had some problems when checked the post page with w3.org Validator, i have worked on solving these issues and the problem is solved.
They’re probably somewhere in the header.php file, or wherever the HTML <head> section is. Look for <meta property=”og:description” content=”Something something” />
WordPress core supports embeds from a variety of sites, including Twitter. Embedding content is as simple as pasting the URL of the tweet (or whatever) into it’s own paragraph in the content editor. The embed will be displayed much like the examples you’ve provided.
did you tried to check if any og:image duplicate in your <head> tag. Or you can try to increase the priority of filter hook. Example below, using the filter with priority = 99 (almost latest). add_filter(‘wpseo_opengraph_image’, ‘custom_author_og_image’, 99);
Adding Facebook Open Graph Code does not work for Media Library Attachment Pages
Why does echo on functions.php not yield result in source code?
Wrong Open Graph image is shown (og:image) using yoast