OGPanic is an enhancement for WordPress posts when the links are shared on social media. Social medias like Facebook and Twitter using The Open Graph protocol to display featured image and title of the post.
OGPanic goes one step further: It adds the title and category info to the featured image and make your posts stand out when shared on social medias.
Install and activate the plugin. It will automatically render the og:image tag by using the post’s setting.
og:image:height is added.
This plugin depends on Open Graph Protocol plugin. If you haven’t installed that, install it with og-panic.
The following tags will be added by
Open Graph Protocol
og:title: The page’s title is used, this provides the title for posts, pages, archives etc.
og:type: The type will be
websitefor the front page and
blogfor the blog homepage.
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 if WPML is installed.
- How to setup the API endpoint and token
You can get it from https://ogpanic.com/ by filling the form on that page.
Contributors and Developers
“OGPanic” is open source software. The following people have contributed to this plugin.Contributors
- Two new themes added
- Bump version to 1.0.13
- [NEW] Choose different theme in post editor
- [NEW] Disable OGPanic for certain post in post editor
- [FIX] Fixed warning messages when there’s no OGPanic setting
- Update translations
- Add link to settings from
- Correctly sanitize and escape options