[wp-meta] [Making WordPress.org] #5604: Add structured data to profile pages

Making WordPress.org noreply at wordpress.org
Wed Nov 9 21:06:10 UTC 2022


#5604: Add structured data to profile pages
----------------------------+---------------------
 Reporter:  jonoaldersonwp  |       Owner:  (none)
     Type:  enhancement     |      Status:  closed
 Priority:  low             |   Milestone:
Component:  Profiles        |  Resolution:  fixed
 Keywords:  seo             |
----------------------------+---------------------
Changes (by coffee2code):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This appears to be a duplicate of #4280 but with some differences. That
 ticket had been largely implemented about a year and a half ago (but after
 this ticket was created) (except for the 'sameAs' section having social
 media accounts, for the same reasons noted above).

 Since this is a later version of the schema, I updated the existing output
 in [19527-dotorg] to account for the differences. These consist of:

 1. Added second `WebSite` section:
 {{{
                 {
                         "@type": "WebSite",
                         "@id": "https://profiles.wordpress.org/#website",
                         "url": "https://profiles.wordpress.org/",
                         "name": "WordPress.org Profiles",
                         "isPartOf": {
                                 "@id": "https://wordpress.org/#website"
                         },
                         "publisher": {
                                 "@id":
 "https://wordpress.org/#organization"
                         }
                 },
 }}}
 2. Changed `"@type": "ProfilePage",` to `"@type": ["ProfilePage",
 "WebPage"],`
 3. In `ProfilePage/WebPage` section:
   a. Changed the `isPartOf -> @id` value from
 'https://wordpress.org/#website' to
 'https://profiles.wordpress.org/#website'.
   b. Added the 'about' field.
   c. Omitted "- WordPress user profile" suffix from 'name' field.
   d. **Note**: The 'name' field value otherwise retains previous format of
 `Example User (@example)` instead of proposed `Example User – @example`
 from this ticket. If it matters, we can change it.
   e. **Note**: Retained the 'description' field, which had been
 implemented. (The request to remove the 'description' field in this ticket
 appeared to stem more from defining how this Profiles schema differed from
 the w.org homepage schema, and not as an update to the previous ticket.)
 4. In `Person` section:
   a. Added 'url' field
   b. Added 'sameAs' field, which includes user website and/or GitHub
 profile URL, if either exists.
   c. Changed the '@id' suffix from '#profile' to '#person'.
   c. **Note**: Retained previously defined fields: 'jobTitle', 'worksFor',
 'mainEntityOfPage'

 Except for the noted exceptions (namely things kept from the original
 request), I believe everything requested here has been implemented
 (barring the implementation of #4278). As such, I'm closing this is fixed.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5604#comment:6>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list