Aquesta extensió no s’ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s’usa en versions recents del WordPress.

OGP Generator

Descripció

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.

Captures

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

Instal·lació

  1. Upload nskw-ogp-generator folder to the /wp-content/plugins/ directory
  2. Activa l’extensió mitjançant el menú ‘Extensions’ del WordPress
  3. Go to Settings > Reading > OGP Settings to set image and ID.

Ressenyes

No hi ha ressenyes per a aquesta extensió.

Col·laboradors i desenvolupadors

«OGP Generator» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

“OGP Generator” s’ha traduït a 1 configuració regional. Gràcies als traductors per les seves aportacions.

Traduïu «OGP Generator» a la vostra llengua.

Interessats en el desenvolupament?

Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.

Registre de canvis

0.1

  • Primera versió.