Making WordPress.org

Opened 2 years ago

Last modified 13 months ago

#4277 accepted enhancement

Profile template meta tweaks

Reported by: jonoaldersonwp Owned by: coffee2code
Milestone: Priority: high
Component: Profiles Keywords: seo has-patch

Description (last modified by jonoaldersonwp)

  • Change the <title> content to: {{Full Name}} ({{Username}}) - WordPress user profile | WordPress.org. E.g., Joost de Valk (joostdevalk) - WordPress user profile | WordPress.org.
  • Add and populate a meta description tag with the (sanitized) content of the Bio field, up to 160 characters (cutting off gracefully with an ellipses character).
  • Add and populate open graph tags as follows:
<meta property="og:type" content="profile" />
<meta property="og:title" content="{{Full Name}} - WordPress user profile" />
<meta property="og:description" content="{{Meta description}}" />
<meta property="og:url" content="{{URL}}" />
<meta property="og:site_name" content="WordPress" />
<meta property="og:image" content="{{Gravatar Large Image}}" />
<meta property="profile:username" content="{{Username}}" />

Attachments (1)

4277.diff (1.4 KB) - added by tellyworth 13 months ago.

Download all attachments as: .zip

Change History (6)

#1 @jonoaldersonwp
2 years ago

  • Description modified (diff)

#2 @coffee2code
2 years ago

  • Owner set to coffee2code
  • Status changed from new to accepted

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

2 years ago

13 months ago

#4 @tellyworth
13 months ago

  • Keywords has-patch dev-feedback added

attachment:4277.diff implements @jonoaldersonwp's suggestions with one or two minor changes. Mainly, the bio is trimmed to 25 words rather than 160 chars.

@coffee2code does that look reasonable to you?

#5 @coffee2code
13 months ago

  • Keywords dev-feedback removed

Ah yeah, I believe I actually have just about everything for this and most of #4280, which I worked on in tandem. I'll check if they need a refresh and get them committed shortly.

Note: See TracTickets for help on using tickets.