Skip to content

Add custom OpenGraph meta tags for Facebook, Twitter, and Instagram. With this plugin, you can set specific OpenGraph data for individual posts and pages, as well as define default settings for your entire website.

Notifications You must be signed in to change notification settings

kandekore/wp-opengraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

WP Open Graph Plugin

Description

The WP Open Graph Plugin is a WordPress plugin that allows you to add custom OpenGraph meta tags for Facebook, Twitter, and Instagram. With this plugin, you can set specific OpenGraph data for individual posts and pages, as well as define default settings for your entire website.

Features

  • Custom OpenGraph Tags: Easily set custom OpenGraph tags, including title, description, and image URL, for individual posts and pages.

  • Default Settings: Define default OpenGraph settings that will be used when specific tags are not set for a post or page.

  • Media Library Integration: Conveniently select and manage OpenGraph images from your WordPress media library.

Installation

  1. Download the wp-open-graph-plugin directory from this repository.
  2. Upload the entire directory to your WordPress plugins directory (usually wp-content/plugins/).
  3. Activate the plugin through the WordPress admin interface.

Usage

Setting Default OpenGraph Data

  1. After activating the plugin, go to your WordPress dashboard.

  2. In the admin menu, you will find a new menu item called "OpenGraph Settings." Click on it.

  3. On the "Default OpenGraph Settings" page, you can define default values for your OpenGraph tags, including the default title, description, and image URL.

  4. Click the "Save Changes" button to save your default settings.

Setting Custom OpenGraph Data for Posts and Pages

  1. When creating or editing a post or page, scroll down to the "OpenGraph Settings" meta box.

  2. You can set specific OpenGraph tags for this post or page, such as the title, description, and image URL.

  3. To use the default settings, leave the fields blank.

  4. Click the "Update" button to save your changes.

Outputting OpenGraph Data

The plugin will automatically output the OpenGraph tags in the <head> section of your website when viewing a post or page. It uses the custom tags set for the post/page, or the default settings if no custom tags are set.

Media Library Integration

To select an image from your media library for the OpenGraph image URL, click the "Select Image" button in the OpenGraph settings meta box. This will allow you to choose an image from your WordPress media library and automatically populate the image URL field.

Author

  • Author: D.Kandekore

Version

  • Version: 1.0

Support

For support or inquiries, please contact the plugin author, D.Kandekore.

License

This plugin is licensed under the GNU General Public License, version 2 (GPL-2.0).

Contributing

Contributions are welcome! Feel free to fork this repository, make improvements, and create pull requests.

About

Add custom OpenGraph meta tags for Facebook, Twitter, and Instagram. With this plugin, you can set specific OpenGraph data for individual posts and pages, as well as define default settings for your entire website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published