Saltar al contingut
WordPress.org

Català (Valencià)

  • Temes
  • Complements
  • Sobre
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Open Graph Protocol Tools

  • Submit a plugin
  • Favorits
  • Entrar
  • Submit a plugin
  • Favorits
  • Entrar

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.

Open Graph Protocol Tools

Per artlung
Baixar
  • Detalls
  • Ressenyes
  • Instal·lació
  • Desenvolupament
Suport

Descripció

Adds Open Graph Protocol meta tags to individual content pages of your WordPress install. Works in coordination with “Like” buttons and “share” inside Facebook and other consumers of OGP metadata.

Instal·lació

  1. Upload open-graph-protocol-tools/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To add the “Like” module, use this code:
<?php
/**
 * Include this code on your theme for single blog posts (for example, in your single.php file)
 * or on your blogs main page to include a Facebook "Like" iframe
 */
if (function_exists('the_opengraphprotocoltools_like_code')):
   the_opengraphprotocoltools_like_code();
else:
    echo "<!-- opengraphprotocoltools is not activated -->";
endif;
?>

It would be best if in your theme you also added an attribute in the &lt;html&gt; tag, like this: &lt;html prefix="og: http://ogp.me/ns#"&gt;

PMF

Is there a FAQ?

I’ve gotten some bug reports via GitHub, you can report bugs or make comments there.

For more information about Open Graph Protocol

Visit Open Graph Protocol.

Ressenyes

No hi ha ressenyes per a este complement.

Col·laboradors i desenvolupadors

«Open Graph Protocol Tools» és programari de codi obert. La següent gent ha col·laborat en este complement.

Col·laboradors
  • artlung
  • Pat Hawks

Traduïx «Open Graph Protocol Tools» a la teua llengua.

T’interessa el desenvolupament?

Revisa el codi , dona una ullada al repositori SVN o subscriu-te al registre de desenvolupament per RSS.

Registre de canvis

1

  • First version.

1.2

  • Changed instructions, fixes encoding errors for non-English content.

1.3

  • Improve issue with home vs front page

1.6

  • Improvements by pathawks to accommodate more types
  • Address double encoding issue with wptexturize modified values

1.7

  • Misc improvements I never enumerated and can’t remember. Whoops.

1.8

  • WordPress 5 compatibility check!

1.9

  • Support for tag archive pages

1.91

  • WordPress 5.5 compatible

2.0.0

  • WordPress 6.4 compatible

Meta

  • Versió 2.0.0
  • Última actualització fa 2 anys
  • Instal·lacions actives: 50+
  • Versió de WordPress: 2.9 o posterior
  • Provat fins a 6.4.8
  • Idioma
    English (US)
  • Etiquetes
    facebookmetadata
  • Vista avançada

Valoracions

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Your review

See all reviews

Col·laboradors

  • artlung
  • Pat Hawks

Suport

Tens alguna cosa a dir? Necessites ajuda?

Vore els fòrums de suport

Donar

T’agradaria donar suport al progrés d’este complement?

Dona a este complement

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Català (Valencià)

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
El codi és poesia.
The WordPress® trademark is the intellectual property of the WordPress Foundation.