Title: OGP Generator
Author: ShinichiN
Published: <strong>Septanm 15, 2014</strong>
Last modified: Desanm 10, 2015

---

Search plugins

![](https://ps.w.org/ogp-generator/assets/banner-772x250.png?rev=990037)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/ogp-generator/assets/icon-256x256.png?rev=989963)

# OGP Generator

 By [ShinichiN](https://profiles.wordpress.org/shinichin/)

[Download](https://downloads.wordpress.org/plugin/ogp-generator.0.5.3.zip)

 * [Details](https://hat.wordpress.org/plugins/ogp-generator/#description)
 * [Reviews](https://hat.wordpress.org/plugins/ogp-generator/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/ogp-generator/#installation)
 * [Development](https://hat.wordpress.org/plugins/ogp-generator/#developers)

 [Support](https://wordpress.org/support/plugin/ogp-generator/)

## Description

When shared on Facebook, this plugin shows a nice Thumbnail of your posts, pages
and site.

### Example of Open Graph Protocol tags

    ```
    <meta property="fb:app_id"      content="you can specify in admin" />
    <meta property="og:title"       content="Post Title" />
    <meta property="og:type"        content="article" />
    <meta property="og:url"         content="Post URL" />
    <meta property="og:image"       content="Post thumbnail, attached image, the first image or default image which you upload" />
    <meta property="og:site_name"   content="Site Title" />
    <meta property="og:locale"      content="Your Locale" />
    <meta property="og:description" content="Post excerpt or text generated from your content" />
    ```

### Rules of the og:image

#### When a post permalink is shared (is_singular).

 1. If your post has a post-thumbnail, that will show up.
 2. If not, this plugin shows the images attatched to the post.
 3. If not, this plugin shows the images which is in the content.
 4. If not, this plugin shows the default image, which you upload in Settings > Reading
    > OGP Settings.
 5. If not, this plugin doesn’t show anything. (Other ogp tags such as og:title, og:
    url and so on will be served.)

#### When the link posted on facebook was not a post link (!is_singular).

When home page, archive pages, search result page or what ever else pages are shared
on facebook, og:image will be the image you specify in Settings > Reading > OGP 
Settings.

## Screenshots

 * [[
 * You can set default image of the og:image, and put your app_id or fb:admins id.

## Installation

 1. Upload `nskw-ogp-generator` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings > Reading > OGP Settings to set image and ID.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“OGP Generator” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ ShinichiN ](https://profiles.wordpress.org/shinichin/)

“OGP Generator” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/ogp-generator/contributors)
for their contributions.

[Translate “OGP Generator” into your language.](https://translate.wordpress.org/projects/wp-plugins/ogp-generator)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ogp-generator/), check
out the [SVN repository](https://plugins.svn.wordpress.org/ogp-generator/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/ogp-generator/) 
by [RSS](https://plugins.trac.wordpress.org/log/ogp-generator/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1

 * First release.

## Meta

 *  Version **0.5.3**
 *  Last updated **10 years ago**
 *  Active installations **70+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.4.34**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/ogp-generator/) and [Japanese](https://ja.wordpress.org/plugins/ogp-generator/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/ogp-generator)
 * Tags
 * [facebook](https://hat.wordpress.org/plugins/tags/facebook/)[ogp](https://hat.wordpress.org/plugins/tags/ogp/)
 *  [Advanced View](https://hat.wordpress.org/plugins/ogp-generator/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/ogp-generator/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ogp-generator/reviews/)

## Contributors

 *   [ ShinichiN ](https://profiles.wordpress.org/shinichin/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ogp-generator/)