WordPress.org

Making WordPress.org

Opened 10 months ago

Closed 8 days ago

#4893 closed enhancement (reported-upstream)

Add id to organizer block

Reported by: casiepa Owned by:
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: has-patch
Cc:

Description

WordCamps create an organizer page (e.g. https://2020.europe.wordcamp.org/organisers/), but from some others pages it's nice to be able to link directly to an organizer (e.g. https://2020.europe.wordcamp.org/organisers#org-pascal-casier)

Proposal is to change
<div class="wordcamp-organizer wordcamp-organizerspost slug-pascal-casier"
to
<div class="wordcamp-organizer wordcamp-organizers
post slug-pascal-casier" id="org-pascal-casier"
or similar

Change History (5)

#1 @vdwijngaert
10 months ago

  • Keywords has-patch added
  • Type changed from defect to enhancement

Well, seems simple enough, and it sure has its uses. I created a pull request in the WordCamp Github repository: https://github.com/WordPress/wordcamp.org/pull/294.

Apologies if this isn't the normal way of things, just trying to help out :)

#2 @ryelle
10 months ago

Hi @vdwijngaert & @casiepa — since the blocks can be used multiple times on a page, having IDs on the block content can cause invalid HTML. See r779, when speaker IDs were deprecated.

You could use anchor links on each heading, and link to the organizer's team, like https://2020.europe.wordcamp.org/organisers/#attendee-services, would that work?

We could also look at allowing single Organizer pages, like https://2020.europe.wordcamp.org/organisers/pascal-casier, but I think we'll want to have more input on that before committing to it.

#3 @casiepa
10 months ago

Hi @ryelle

I had first checked indeed if there were any archive/single pages for organisers but it seems those are not active. That might be the best way to go as pointing to the teams is not what we wanted to do AND not all WordCamps are probably creating teams.

So if the single pages can be activated, that would be great!

This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.


6 weeks ago

#5 @dd32
8 days ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

This ticket has been moved to GitHub https://github.com/WordPress/wordcamp.org/issues/642

Note: See TracTickets for help on using tickets.