Documentation
WordPress
Connect the plugin, assign templates, and pass post data into covers.
Setup
- 1Install the plugin
Install ogCover from the WordPress plugin directory and open its settings.
- 2Paste an API key
Create the key after email confirmation. Keep it server-side in WordPress settings.
- 3Assign templates
Choose templates for posts, pages, and the home page.
Plugin variables
| Variable | Value |
|---|---|
| title | Post or page title |
| excerpt | Short post excerpt |
| author | Author |
| date | Publication date |
| category | Primary category |
| tag | First tag |
| reading_time | Estimated reading time |
| source | Site name |
| tagline | Site tagline |
| bg_image | Featured image |