Plugin yìí kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress. Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

Dewey's Open Graph Helper

Àpèjúwe

A simple plugin for adding open graph tags to WordPress sites. Focuses more on theme and plugin developers. No admin interface (yet), everything is configured via code. (IÌtumọ̀ Yorùbá: ’ll write a better description when I can think of one…)

Ìgbéwọlẹ̀

  1. Upload the wad_open_graph directory to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. add_post_type_support for ogtags to the different post types you want to enable open graph tags for
  4. Customize the open graph settings by using the og_tags filter

FAQ

How do I use this?

After you have installed the plugin, the plugin will automatically add open graph tags to your siteÌtumọ̀ Yorùbá: ’s front page. og:site_name and og:title will both be set to your siteÌtumọ̀ Yorùbá: ’s name, og:type will be “website”, og:url is the siteÌtumọ̀ Yorùbá: ’s url and og:description is the WP site description.

After youÌtumọ̀ Yorùbá: ’ve enabled support for each of the post type(s), you begin to see open graph tags appear in those post type page <head> tags.

On post types that support ‘ogtags’, the plugin will add og tags for og:site_name (your blogÌtumọ̀ Yorùbá: ’s title), og:title (the post title), og:url (the post permalink), og:description (the post excerpt) and og:type is automatically set to “article”. If your post has a thumbnail image, that will be set as the og:image.

Can I customize the og tags?

You can!

You can customize all of the different posts youÌtumọ̀ Yorùbá: ’re supporting using the og_tags filter. Also, if youÌtumọ̀ Yorùbá: ’re supporting multiple post types and only want to customize a particular post type, you can use the [POST_TYPE]_og_tags filter, where you can replace [POST_TYPE] with post or page (or whatever the post_type is) to customize the content of a particular post type.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“Dewey's Open Graph Helper” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Dewey's Open Graph Helper” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

2.0.4

  • fixed the issue where apostrophes arenÌtumọ̀ Yorùbá: ’t always showing properly in shares

2.0.3

  • Small tweaks based on some feedback around custom data

2.0.2

  • Small changes to fix some issues with some of the og tag meta not being rendered properly

2.0.1

  • Small changes to fix some issues with some of the og tag meta not being rendered properly

2.0.0

  • Added a meta box to make it easier to use custom og tag meta

1.1.0

  • Removed the filter from being called on the homepage, as it was causing unwanted overwrites

1.0.1

  • Moved array declaration to fix error notice

1.0

  • Initial “open” release