Skip to content

Add repeatable Venue Name field for multi-venue events#46

Open
dd32 wants to merge 3 commits intoproductionfrom
add/claude/1604-multiple-venues
Open

Add repeatable Venue Name field for multi-venue events#46
dd32 wants to merge 3 commits intoproductionfrom
add/claude/1604-multiple-venues

Conversation

@dd32
Copy link
Owner

@dd32 dd32 commented Mar 12, 2026

Summary

  • Adds a new multi-text field type to the event tracker, replacing the single text input for Venue Name
  • Allows Campus Connect and other events to list multiple venues with add/remove buttons
  • Backwards compatible: existing single-string venue names are automatically displayed as a single entry
  • Template functions join multiple venues with commas for frontend display

Screenshots

Before: Single text input
Before

After: Repeatable text inputs with add/remove buttons
After

Test plan

  • Edit a WordCamp or Campus Connect event in wp-admin
  • Verify the Venue Name field shows an input with a remove (x) button and an "+ Add another" button
  • Click "+ Add another" to add a second venue, enter a name
  • Save the event and verify both venues are preserved
  • Remove a venue and save, verify it is deleted
  • Verify frontend display joins venues with commas

Alternate approach to #43 per review feedback.
Fixes WordPress#1604

Generated with Claude Code

dd32 and others added 3 commits March 12, 2026 21:26
Campus Connect events can span multiple campuses/venues. This adds
a repeatable text input field type for the Venue Name field, replacing
the single text input. Users can add/remove venue entries with buttons.

Backwards compatible: existing single-string values are automatically
converted to single-entry arrays in the UI. Template functions join
array values with commas for display.

Fixes WordPress#1604

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant