Skip to content

Open Graph

Tran Ngoc Tuan Anh edited this page Feb 27, 2019 · 6 revisions

All Open Graph meta tags are generated automatically just like meta title and meta description.

Actually, it inherits from these meta tags. The og:title is the meta title, og:description is the meta description.

Slim SEO supports the following Open Graph tags:

Tag Description
og:title Title: inherits from meta title.
og:type Type: article if on a singular pages/posts, website on other pages.
og:image Image: URL of the featured image. Only available for singular pages/posts.
og:image:width Image width: width of the featured image.
og:image:height Image height: width of the featured image.
og:image:alt Image alt text: alt text of the featured image.
og:description Description: inherits from meta description.
og:url URL: permalink of the singular posts/pages.
og:locale Locale: get from WordPress's settings.
og:site_name Site name: get from WordPress's settings.
article:published_time Article published time: get from post's published time. Only available for singular pages/posts.
article:modified_time Article modified time: get from post's modified time. Only available for singular pages/posts.
og:updated_time Article updated time: same as article modified time.
article:section Article section: post category (the first one).
article:tag Article tags: post tags.

See list of all available Open Graph tags supported by Facebook.

Please note that if you set your homepage as a static page, then the plugin treats it like a normal page.

Clone this wiki locally