WordPress.org

Making WordPress.org

Opened 7 years ago

Closed 6 years ago

#647 closed enhancement (fixed)

Add open graph tags for plugin repo

Reported by: ahockley Owned by: ocean90
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

It seems that plugins in the repository do not have proper open graph tags, leading to undpredictable results when shared via various social networks.

It would probably make sense to use the plugin banner (if provided), optionally falling back to a WordPress logo.

Change History (11)

#1 follow-up: @Otto42
7 years ago

Could you give some examples of what might be appropriate?

I'm thinking the icon might make more sense than the banner.

#2 in reply to: ↑ 1 @ahockley
7 years ago

Replying to Otto42:

Could you give some examples of what might be appropriate?

I'm thinking the icon might make more sense than the banner.

I was thinking that generally when shared to Facebook, Google+, or other sites that make use of the open meta tags it's generally going to look better with a landscape (wide) image rather than a portrait (tall) or square image.

This ticket was mentioned in Slack in #meta by georgestephanis. View the logs.


7 years ago

#4 @ramiy
7 years ago

It's a great idea!

#5 @pattyland
7 years ago

#1013 was marked as a duplicate.

#6 @joostdevalk
7 years ago

  • Keywords dev-feedback added

So the plugin repo does have OG image tags now, using the plugin header when it's available. I don't know whether we really should go further in terms of adding input fields or whatever for sharing, my personal preference would be not to.

Maybe @otto42 can give his opinion here :)

This ticket was mentioned in Slack in #meta by ocean90. View the logs.


6 years ago

#8 @ocean90
6 years ago

  • Keywords dev-feedback removed
  • Resolution set to fixed
  • Status changed from new to closed

So the plugin repo does have OG image tags now

Confirmed, example from Jetpack:

<meta property='og:title' content='Jetpack by WordPress.com' />
<meta property='og:description' content='Your WordPress, Simplified.' />
<meta property='og:site_name' content='WordPress.org' />
<meta property='og:type' content='website' />
<meta property='og:image' content='https://ps.w.org/jetpack/assets/banner-1544x500.png?rev=1279667' />

#9 @ocean90
6 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • og:url is missing
  • og:title isn't localized

#10 @ocean90
6 years ago

  • Owner set to ocean90
  • Status changed from reopened to accepted

#11 @ocean90
6 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.