-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathreadme.txt
More file actions
581 lines (422 loc) · 26.9 KB
/
readme.txt
File metadata and controls
581 lines (422 loc) · 26.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
=== OG — Better Share on Social Media ===
Contributors: iworks
Donate link: https://ko-fi.com/iworks?utm_source=og&utm_medium=readme-donate
Tags: PLUGIN_TAGS
Requires at least: PLUGIN_REQUIRES_WORDPRESS
Tested up to: PLUGIN_TESTED_WORDPRESS
Stable tag: PLUGIN_VERSION
Requires PHP: PLUGIN_REQUIRES_PHP
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
PLUGIN_TAGLINE
== Description ==
**Effortless Open Graph & Social Metadata for WordPress**
**No configuration. Just activate and enjoy optimized sharing across Facebook, Twitter, Pinterest, and more!**
=== Overview ===
OG — Better Share on Social Media is the ultimate zero-configuration plugin to supercharge your WordPress site’s visibility on social networks. Instantly add essential Open Graph and Twitter Card metadata to every page, post, product, and archive—no setup required.
Whether you’re a blogger, business owner, or developer, OG ensures your content looks great when shared, driving more clicks and engagement from social platforms.
---
=== Key Features ===
- **Zero Configuration:** Just install and activate. OG automatically generates all required Open Graph and Twitter Card tags.
- **Automatic Image Selection:** Picks the best image for each page (featured image, first in content, or fallback) for rich social previews.
- **Comprehensive Metadata:** Adds og:title, og:description, og:image, og:type, og:url, and more for all content types.
- **WooCommerce Support:** Enhances product pages with price, currency, availability, and more.
- **Advanced Video Handling:** Detects YouTube/Vimeo links and uses their thumbnails for social sharing.
- **Twitter Card Integration:** Includes summary cards, titles, descriptions, images, and video support.
- **Pinterest & Related Content:** Integrates with related posts plugins to add Pinterest-specific tags.
- **Extensible for Developers:** Powerful filters and hooks let you customize or extend metadata output.
- **Multilingual Ready:** Supports WPML and other translation plugins for global sites.
---
=== How It Works ===
1. **Install & Activate:** No settings page, no complicated options.
2. **Automatic Tag Injection:** OG scans your site and injects optimal Open Graph and Twitter Card tags into the `<head>` of every page.
3. **Smart Image Logic:** Selects the best image for each page (custom field, featured image, content image, or default).
4. **WooCommerce & Custom Post Types:** Automatically adapts to products, archives, and custom content.
---
=== What Metadata is Added? ===
==== For All Content Types: ====
- **og:locale** – Site language
- **og:site_name** – Blog/site title
- **og:title** – Dynamic page/post title
- **og:url** – Canonical URL
- **og:type** – “article” for single posts, “website” for others
- **og:description** – SEO description or site tagline
==== For Single Posts/Pages: ====
- **og:image** – Smart selection (custom, featured, content, gallery, or default)
- **og:video** – YouTube/Vimeo support
- **article:author** – Author profile link
- **article:published_time** – Original publish date
- **article:modified_time** – Last update date
- **article:tag** – Post tags
- **twitter:card, twitter:title, twitter:description, twitter:image, twitter:player** – Full Twitter Card support
- **og:see_also** – Related content for Pinterest
==== For WooCommerce Products ====
- **og:price:amount** – Product price
- **og:price:currency** – Currency code
- **og:availability** – Stock status
---
=== Get Involved ===
- **Found a bug?** [Report it in the support forum](https://wordpress.org/support/plugin/og/).
- **Have a feature idea?** Start a discussion in the forum.
- **Developer?** Contribute on [GitHub](https://github.com/iworks/og).
---
=== Why Choose OG? ===
- **Beginner-friendly:** No setup required—perfect for non-technical users.
- **Powerful:** Covers all major social networks and content types.
- **Flexible:** Easily extend or override for advanced use cases.
- **Lightweight:** No bloat, no slowdowns.
---
**Install OG — Better Share on Social Media today and make every share count!**
== Installation ==
There are 3 ways to install this plugin:
= The super-easy way =
1. **Login** to your WordPress Admin panel.
1. **Go to Plugins > Add New.**
1. **Type** ‘OG’ into the Search Plugins field and hit Enter. Once found, you can view details such as the point release, rating, and description.
1. **Click** Install Now. After clicking the link, you’ll be asked if you’re sure you want to install the plugin.
1. **Click** Yes, and WordPress completes the installation.
1. **Activate** the plugin.
1. That's all. ***The plugin does not have any configuration.***
***
= The easy way =
1. Download the plugin (.zip file) on the right column of this page
1. In your Admin, go to the menu Plugins > Add
1. Select the button `Upload Plugin`
1. Upload the .zip file you just downloaded
1. Activate the plugin
1. That's all. ***The plugin does not have any configuration.***
***
= The old and reliable way (FTP) =
1. Upload `OG` folder to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. That's all. ***The plugin does not have any configuration.***
== Frequently Asked Questions ==
= How do I configure the Open Graph plugin? =
There is nothing to configure and there is no admin page. By default, it will use standard WordPress data which can populate the Open Graph.
= I installed OG and ... nothing happens! =
Please be patient, sometimes you need more a day to see results. The reason for this is the cache on Facebook. But check your plugins too and if you use caching plugins, try to do "flush cache" on your site.
You can force FB to refresh OpenGraph data by using this page https://developers.facebook.com/tools/debug/sharing/. Just go to Sharing Debugger, enter your URL and hit the button "Scrap Again".
= What is OpenGraph? =
The [Open Graph protocol][] enables any web page to become a rich object in a social graph. Most notably, this allows for these pages to be used with Facebook's [Like Button][] and [Graph API][].
The Open Graph plugin inserts the Open Graph metadata into the page head section and provides filters for other plugins and themes to override this data, or to provide additional Open Graph data.
[Open Graph Protocol]: http://ogp.me/
[Like Button]: https://developers.facebook.com/docs/reference/plugins/like
[Graph API]: https://developers.facebook.com/docs/reference/api/
[Simple SEO Improvements]: https://wordpress.org/plugins/simple-seo-improvements/
[WooCommerce]: https://wordpress.org/plugins/woocommerce/
[Debug Bar]: https://wordpress.org/plugins/debug-bar/
= What plugin add for all types of content? =
* og:locale - site locale
* og:site_name - blog title
* og:title - post/page/archive/tag/... title
* og:url - the post/page permalink
* og:type - "article" for single content and "website" for all others
* og:description - site description
* og:site_name - site name
= What plugin add for single content? =
All above and more:
* og:image: From a specific custom field of the post/page, or if not set from the post/page featured/thumbnail image, or if it doesn't exist from the first image in the post content, or if it doesn't exist from the first image on the post media gallery, or if it doesn't exist from the default image defined in the options menu. The same image chosen here will be used in the enclosure and media:content of the RSS feed.
* og:video - add links to YouTube movies.
* article:author - author of post link
* article:published_time - date of first article publication
* article:modified_time - date of last article modification
* article:tag - tags used in the post
* twitter:card - summary
* twitter:title - the same line as og:title
* twitter:description - the same as og:description
* twitter:image - the same as og:image
* twitter:player - the same as og:video
* og:see_also - Pinterest related if you use the supported "related posts" plugin.
= What plugin should I add for a single WooCommerce product? =
All above and more:
* og:price:amount - price amount
* og:price:currency - price currency
* og:availability - stock status
= How plugin get video data? =
The plugin grabs data from the content, and if it contains a YouTube URL, it tries to get a movie thumbnail and use it in og:image.
If the post contains YouTube or Vimeo links, this plugin saves it as a post meta video thumbnail link and adds it to og:image as a post thumbnail.
= I want to set og:image manually =
Please install small add-on: [OG — Addon: og:image](https://github.com/iworks/og-plugin-addon-image/releases). The new meta box on the side should allow you to choose the og:image manually.
= If I need to change some values? =
You can use the [Simple SEO Improvements](https://wordpress.org/plugins/simple-seo-improvements/) plugin, which is integrated with OG, to:
- set a default image
- set facebook app_id
- set twitter id
***Experimental***
You can use not supported meta tags:
- `og:logo` - to turn on use `add_filter( 'allow_og_logo', '__return_true' )`.
***I need more!***
Rich filter implementation allows you to change almost every output of this plugin, but this is for technicians: Learn more on the [OG Plugin Documentation Site](http://og.iworks.pl/).
== Changelog ==
Project maintained on github at [iworks/og](https://github.com/iworks/og).
= 3.3.9 (2026-05-15) =
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.3.2.
= 3.3.8 (2025-10-08) =
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.3.1.
= 3.3.7 (2025-05-27) =
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.3.0.
= 3.3.6 (2025-04-28) =
* Missing parameter "twitter" in call to rt_get_time() function has been fixed. Props for [benact](https://github.com/benact). #22](https://github.com/iworks/og/issues/22).
= 3.3.5 (2025-04-14) =
* Add Twitter "Reading Time". [#19](https://github.com/iworks/og/issues/19)
= 3.3.4 (2025-03-07) =
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.2.3.
* The build process has been improved.
* The `_load_textdomain_just_in_time()` notice has been fixed.
* The itemprop `author` has been removed. Props for [Oliver](https://github.com/oliveratgithub). [#9](https://github.com/iworks/og/issues/9)
= 3.3.3 (2024-12-09) =
* The loading integrations action has been fixed.
= 3.3.2 (2024-12-05) =
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.2.1.
* Translation loading time has been fixed. [#16](https://github.com/iworks/og/issues/16)
= 3.3.1 (2024-07-21) =
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.1.9.
= 3.3.0 (2024-02-14) =
* An issue with the WPML plugin has been fixed. [#15](https://github.com/iworks/og/issues/15). Props for [Armsportstore.com](https://wordpress.org/support/users/armbreakersweden/).
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.1.6.
* Include files have been hardened.
* Integration with the [WooCommerce] plugin has been improved.
* Integration with the [Debug Bar] plugin has been added.
= 3.2.7 (2023-12-21) =
* The filter `og/term/meta/thumbnail_id_name` has been added. It allows you to change the term meta name with a thumbnail ID (the default is `image`). Props for [John](https://wordpress.org/support/users/thesun2012/). [#14](https://github.com/iworks/og/issues/14)
* The filter `og/term/meta/thumbnail_url` has been added. It allows you to change the term meta name with a thumbnail src (the default is `image_url`).
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.1.6.
= 3.2.6 (2023-12-01) =
* Quotations have been removed from `$wpdb->prepare()`.
* The function `date()` has been replaced by the function `gmdate()`.
* The function `strip_tags()` has been replaced by the function `wp_strip_all_tags()`.
* The [iWorks Rate](https://github.com/iworks/iworks-rate) module has been updated to version 2.1.4. [#13](https://github.com/iworks/og/issues/13)
* The usage of WPDB objects has been improved.
= 3.2.5 (2023-11-20) =
* When a site was in debug mode, the `set_transient()` function was called improperly. It has been fixed. Props for [X-Raym](https://wordpress.org/support/users/x-raym/) & [John Blackbourn](https://wordpress.org/support/users/johnbillion/).
= 3.2.4 (2023-11-02) =
* Schema "tagline" has been removed by default. Use the `og_allow_to_use_schema_tagline` filter to turn it on (not recommended).
= 3.2.3 (2023-06-09) =
* Schema "tagline" has been set as the site slogan.
= 3.2.2 (2023-05-30) =
* The `og:logo` has been removed; it can be used with the filter `allow_og_logo`. See the FAQ for more details.
* The `og_logo_size` filter has been added; it allows you to change the logo size; the default is "full".
* The `get_site_logo()` function has been refactored.
* Unnecessary trailing slashes have been removed. Props for [Oliver](https://wordpress.org/support/users/oliverraduner/)
= 3.2.1 (2023-04-18) =
* Added `og_image_size` filter to allow changing default image size in OpenGraph data. Props for [uk03](https://wordpress.org/support/users/uk03/).
= 3.2.0 (2023-04-18) =
* The transient cache has been disabled if site is in WP_DEBUG mode.
* The property `og:logo` has been added.
* An additional check for the `wp_get_attachment_image_src()` function has been added. Props for [mauroaddari](https://wordpress.org/support/users/mauroaddari/).
* Added integration with WPML to set `og:locale:alternate` for single entries.
= 3.1.9 (2022-11-21) =
* Added `og_head_link_rel_image_src_enabled` filter to disable head link output.
* Added `og_head_meta_title_image_enabled` filter to disable head meta output.
= 3.1.8 (2022-11-08) =
* Fixed two PHP warnings due to a lack of an array index. Props for [Leonidas](https://wordpress.org/support/users/visionoptika/).
= 3.1.7 (2022-08-16) =
* Fixed issue with [Reading Time WP](https://wordpress.org/plugins/reading-time-wp/) it returns a string instead of a number if the reading time is less than 1 minute. Props for Radosław Serba.
= 3.1.6 (2022-08-05) =
* Removed post data if it is a password protected entry (content, taxonomies). Props for [cris](http://og.iworks.pl/2022/06/23/3-1-5/#comment-3].
= 3.1.5 (2022-06-23) =
* Added integration with [the Twitter plugin](https://wordpress.org/plugins/twitter/) to use data from this plugin: `twitter:site`, `twitter:widgets` and single content settings.
= 3.1.4 (2022-06-02) =
* Improved integration with [Reading Time WP](https://wordpress.org/plugins/reading-time-wp/).
= 3.1.3 (2022-05-11) =
* Fixed PHP warning when image has no alt. Props for [samoreen](https://wordpress.org/support/users/samoreen/).
* Fixed try to set cache for an empty value.
= 3.1.2 (2022-02-25) =
* Added check is an array for `og:image` to avoid warning. Props for [Charles Smith](https://wordpress.org/support/users/bradlux/).
* Changed Plugin URI from http://iworks.pl/en/plugins/og/ to http://og.iworks.pl/.
= 3.1.1 (2022-02-24) =
* Featured image for single content should be first.
* Added limit to Pinterest `og:see_also`. It must be 6 or fewer.
= 3.1.0 (2022-02-23) =
* Added integration with the plugin [Contextual Related Posts](https://wordpress.org/plugins/contextual-related-posts/) for Pinterest `og:see_also` tag.
* Added integration with the plugin [Related Posts for WordPress](https://wordpress.org/plugins/related-posts-for-wp/) for Pinterest `og:see_also` tag.
* Improved front page `twitter:image` integration with [Simple SEO Improvements](https://wordpress.org/plugins/simple-seo-improvements/).
* Refactored and removed code duplication for `twitter:image`.
* Refactored integration with [YARPP](https://wordpress.org/plugins/yet-another-related-posts-plugin/).
= 3.0.3 (2022-02-23) =
* Added the filter `og_is_schema_org_enabled` to disable Schema.org output.
* Updated iWorks Rate to 2.1.0.
= 3.0.2 (2022-02-12) =
* Fixed the misspelled filter name `og_wp_head_prioryty` into `og_wp_head_priority`. Props for [Armsportstore.com](https://wordpress.org/support/users/armbreakersweden/).
= 3.0.1 (2022-02-10) =
* Excludes `itemscope` for the WP-Sitemap stylesheet. Props for [Jasper](https://wordpress.org/support/users/lucydog/)
* Fixed `article:author` values, according to [ogp.me](https://ogp.me/)
* Unified `article:author` and `profile` values.
= 3.0.0 (2022-02-09) =
* Added `article:expiration_time` as an integration with [PublishPress Future: Automatically Unpublish WordPress Posts](https://wordpress.org/plugins/post-expirator/).
* Added a few PHP_EOL characters for non-debug output. Props for [Guido](https://profiles.wordpress.org/guido07111975/).
* Improved checking of integrations - removed usage of `class_exists` function.
= 2.9.9 (2022-02-08) =
* Fixed older PHP issues.
= 2.9.8 (2022-02-08) =
* Added for itemscope itemtype to HTML using `language_attributes` filter. Props for [Michał Ruszczyk](https://profiles.wordpress.org/mruszczyk/).
= 2.9.7 (2022-02-03) =
* Added integration with the plugin [Categories Images](https://wordpress.org/plugins/categories-images/).
* Added the filter `filter_og_get_image_dimensions_by_id` to allow getting image data by attachment_ID.
* Added `twitter:image:alt`.
* Shortened `twitter:description` length to 200 characters. More: [Cards](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup).
= 2.9.6 (2022-01-20) =
* Updated iWorks Rate to 2.0.6.
= 2.9.5 (2021-12-29) =
* Added the filter `og_wp_head_priority` to allow changing `wp_head` priority.
= 2.9.4 (2021-11-19) =
* Added `og_og_array` filter to a part of the OpenGraph array.
* Added `og_article_array` filter to a part of the OpenGraph array.
* Added `og_twitter_array` filter to a part of the OpenGraph array.
* Added `og_schema_array` filter to a part of the OpenGraph array.
* Added `og_profile_array` filter to a part of the OpenGraph array.
* Added integration with [Reading Time WP](https://wordpress.org/plugins/reading-time-wp/) for Twitter.
* Added support for `twitter:label` and `twitter:data`.
= 2.9.3 (2021-11-08) =
* Added author gravatar as twitter:image on author archive.
* Added Schema.org HTML meta tags.
* Fixed a missing og:url on an author archive page.
* Fixed a missing Twitter on a single page.
* Improved og:url for the search results page.
* Renamed plugin into "OG - Better Share on Social Media".
* Updated iWorks Rate to 2.0.4.
= 2.9.2 (2021-06-30) =
* Added og:brand as integration with a few plugins.
* Added og:description into author page (from user bio).
* Added product:category for WooCommerce product categories.
* Added product:retailer_item_id for WooCommerce SKU.
* Added product:tags for WooCommerce product tags.
* Updated iWorks Rate to 2.0.3.
= 2.9.1 (2021-06-23) =
* Added check that the image exists instead of just processing.
* Renamed directory `vendor` into `includes`.
* Updated iWorks Rate to 2.0.0.
= 2.9.0 (2021-03-31 =
* Added `og_allow_to_use_thumbnail` filter to disable feature image as og:image.
* Added `og_allow_to_use_vimeo` filter to disable Vimeo movie thumbnail as og:image.
* Added `og_allow_to_use_youtube` filter to disable YouTube movie thumbnail as og:image.
* Added `og_check_add_video_thumbnails_by_post` to disable the video from a post, by post (second parameter is $post).
* Added `og_get_locale` to filter locale.
* Added `og_set_transient_expiration` filter, default is DAY_IN_SECONDS.
= 2.8.9 (2020-10-21) =
* Added response code check for YouTube thumbnails. Props for [Biblioteka Targówek](https://wordpress.org/support/users/bekatarg/).
* Added fallback for YouTube thumbnails: `maxresdefault` -> `hqdefault` -> `0`.
= 2.8.8 (2020-10-16) =
* Added `is_author()` page with `og:profile` values and user gravatar as `og:image`.
= 2.8.7 (2020-10-05) =
* Fixed `og:image` order issue, move thumbnail was offered first, instead of entry featured image. Props for Maurício Varallo II.
= 2.8.5 (2020-06-20) =
* Fixed minor issue with og:type.
= 2.8.4 (2020-06-20) =
* Added Pinterest `og:see_also` tag when [YARPP](https://wordpress.org/plugins/yet-another-related-posts-plugin/) plugin is used and post has related posts.
* Fixed `og:image:alt` value, now we use ALT first.
* Improved og:audio tag on audio attachment page.
* Improved og:video tag on video attachment page.
* Improved usage with [Orphans](https://wordpress.org/plugins/sierotki/) plugin.
= 2.8.3 (2020-06-03) =
* Fixed problem with wrong database query param.
= 2.8.2 (2020-06-03) =
* Added Vimeo video support for og:image and og:video.
* Improved default YouTube images, now it is saved with SSL.
* Removed array sum code it is incompatible with older PHP.
= 2.8.1 (2020-06-03) =
* Added dimensions and type for YouTube images if it is possible.
* Added filter `og_twitter_creator` for easy setup of Twitter @username of a creator.
* Added multiple `og:image` for all YouTube movies.
* Removed post meta for YouTube images when movies were deleted from the entry.
* Use SSL for YouTube images if a site is on SSL.
= 2.8.0 (2020-06-03) =
* Removed Facebook check for allowed locales.
* Fixed Twitter `summary_large_image` issue.
* Added filter `og_twitter_site` to easy setup Twitter @username for site owner.
= 2.7.9 (2020-06-02) =
* Improved cache key - now it includes plugin version, to avoid getting older cache.
= 2.7.8 (2020-06-02) =
* Fixed an issue with no featured image, but with multiple images in the content. Props for [anthonykung](https://wordpress.org/support/users/anthonykung/)
= 2.7.7 (2020-06-01) =
* Added `og:image:secure_url` for images with HTTPS URL. Props for [mociofiletto](https://wordpress.org/support/users/mociofiletto/)
* Improved attachment page OpenGraph tags.
* For entry without thumbnail get all content images into og:image.
= 2.7.6 (2019-08-18) =
* Added filter `og_profile` to allow change `profile` values. Props for [edmorrow](https://wordpress.org/support/users/edmorrow/)
= 2.7.5 (2019-05-15) =
* Fixed missing `og:image:alt` for featured image.
= 2.7.4 (2019-04-25) =
* Fixed a problem with `og:image` content for a document with featured image and images in the content. Props for [sudoranger](https://wordpress.org/support/users/sudoranger/)
= 2.7.3 (2019-04-23) =
* Added "summary_large_image" for twitter:card if attached image has a width bigger than 520px. Props for [Bobby Eberle](https://www.facebook.com/bobby.eberle).
= 2.7.2 (2019-04-13) =
* Fixed `sprintf()` issue. Props for [John Glynn](https://www.linkedin.com/in/john-glynn-2a233426/)
= 2.7.1 (2019-04-13) =
* Added locale string into cache settings to be able to handle languages. Props for [Oleksandr Omelchenko](https://wordpress.org/support/users/konusua/).
* Added cache locale value inside the class object.
= 2.7.0 (2018-10-21) =
* Added proper og:url for custom post archive page. Props for [cabaltc](https://wordpress.org/support/users/cabaltc/).
* Added proper og:url for a day, month and year archive page.
* Added proper og:url for a search result.
* Added proper og:url for taxonomy archive page.
* Removed OpenGraph from the 404 page.
= 2.6.2 (2018-10-11) =
* Fixed blog posts page og:url. Props for [cabaltc](https://wordpress.org/support/users/cabaltc/).
= 2.6.1 (2018-09-06) =
* Added `esc_url` for image src value.
* Striped tags from OG tag value.
= 2.6.0 (2018-06-04) =
* Added attached audio files to `og:audio` tag.
* Added attached video files to `og:video` tag.
* Added `og:update_time` tag.
* Added transient cache for single entries to decrease DB usage.
* Updated Facebook locales list.
= 2.5.3 (2018-05-09) =
* Remove debug function, which broke the whole plugin.
= 2.5.2 (2018-05-08) =
* Added filter `og_description_words` to allow change `og:description` length.
* Fixed a problem with striping the last word. Props for [intrex](https://wordpress.org/support/users/intrex/).
* We are back to trim `og:description` to 55 words (it is the default for `wp_trim_words()` function).
= 2.5.1 (2018-04-16) =
* Added og:image:width and og:image:height for first content image from the site URL.
= 2.5.0 (2018-04-14) =
* Added og:image:width and og:image:height for featured image.
= 2.4.9 (2018-02-27) =
* Remove filter "the_content" to avoid incompatibility with some plugins.
= 2.4.8 (2018-02-19) =
* Added first content image to og:image if featured image is not set. Props for [andreyenkin](https://wordpress.org/support/users/andreyenkin/).
= 2.4.7 (2017-09-26) =
* Added filter "og_[og_name]_value" to change single og value.
* Added og:type for post formats "audio" and "video".
* Fixed og:type for WooCommerce product. Props for [shaharsol](https://wordpress.org/support/users/shaharsol/).
= 2.4.6 (2017-09-13) =
* Removed limit for og:description.
= 2.4.5 (2017-06-13) =
* Added filter "og_array" which allows to change the whole OG array before printing it.
= 2.4.4 (2017-05-20) =
* Fixed site crash when WooCommerce is active. Props for [JLY](https://wordpress.org/support/users/jose-luis-yanez/).
= 2.4.3 (2017-05-09) =
* Update "Rate" module to 1.0.1 - fixed wrong rate URL for non-English.
= 2.4.2 (2017-05-03) =
* Added tags "og:video" and "twitter:player" for YouTube embed movies.
* Added WooCommerce integration for tags: "og:price:amount", "og:price:currency" and "og:availability".
* Improved description tag, when entry content is empty, add entry title as description.
= 2.4.1 (2016-10-26) =
* Fixed problem for pages and another single content. At this moment OG works for all types of single entries.
* Added ask for the rating on the plugin page.
* Short Twitter description.
= 2.4.0 (2016-04-10) =
* Fixed the problem with proper preparation for localization.
* Fixed the profile by grabbing the YouTube image.
* Implement WordPress code standard for PHP code used in the plugin.
= 2.3.0 (2016-02-03) =
* Added categories as og:section.
* Added esc_attr to headers tags.
* Added msapplication-TileImage.
* Added og:site_name.
* Added profile:first_name, profile:last_name & profile:username props for [Arek](http://arek.bibliotekarz.com/).
* Added tags.
* Added Twitter tags.
* Added usage of site icon when is no icon - all cases.
= 2.2.0 (2015-08-19) =
* IMPROVEMENT: added the site icon as og:image for the home page.
= 2.1.0 (2015-05-21) =
* IMPROVEMENT: added checking site locale with Facebook allowed locale.
= 2.0.0 (2014-12-11) =
* IMPROVEMENT: added check to post_content exists for CPT without this field.
* IMPROVEMENT: added og:author link
* IMPROVEMENT: big refactoring
* IMPROVEMENT: added filters, see [FAQ](https://wordpress.org/plugins/og/faq/) section
= 1.0.0 (2014-10-02) =
Init.