Open Graph Protocol Framework
Make your content look great when shared on social media. Automatically controls how your posts and pages appear on Facebook, X, and other social platforms. The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web
Make your content look great when shared on social media. Automatically controls how your posts and pages appear on Facebook, X, and other social platforms.
The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
This WordPress plugin automates the process of adding basic and optional metadata to a site’s pages. It is also designed to act as a framework for other plugins or themes and allows to modify and adapt the information provided as needed.
If you find this plugin useful and would like to support our work, you can do so by purchasing in our Shop , thank you!
Supports WooCommerce to include essential product metadata on product pages.
The plugin allows you to choose a fallback image which is used when no featured image is set for shared pages, posts, etc. This helps to maintain a visually consistent experience on social platforms and feeds.
Usage
Install and activate the plugin. It will automatically render the following metadata for posts, pages, etc. :
- og:title : The page’s title is used, this provides the title for posts, pages, archives etc.
- og:type : The type will be article in general, website for the front page and blog for the blog homepage.
- og:image : For post types that support featured images, the URL of the featured image is used. Additional metadata og:image:width , og:image:height , og:image:url , og:image:secure_url and og:image:alt are added.
- og:url : The URL of the current page.
- og:site_name : The name of the site.
- og:description : Uses the full excerpt if available, otherwise derives it from the content. For author and archive pages, the type of page and title is used.
- og:locale : The current locale.
- og:locale:alternate : Indicates additional locales available with WPML and Polylang .
The content of the og:image:alt property is based on the Alt Text of the featured image, the image’s Caption in lack thereof, or ultimately the image’s Description in lack of the latter. If any of those are empty, the property is not rendered.