Problem
The single-event hero section displays a lead/tagline paragraph below the event title. This is stored in wpfa_event_lead_text post meta and displayed by single-wpfa-event.php (line 108).
During Eventyay import the repository already tries the following candidate field names from both the event resource and the settings endpoint:
headline, lead_text, lead-text, subtitle, frontpage_text,
frontpage-text, short_description, short-description, summary
None of these are returned by the Eventyay API for the events tested, so wpfa_event_lead_text is always empty after import and users must enter the text manually via the WP admin meta box.
Expected behaviour
The importer should populate wpfa_event_lead_text automatically from the Eventyay event data so that the hero tagline appears without manual entry.
Steps to investigate / potential solutions
- Check Eventyay API response – Review the raw JSON returned by
GET /api/v1/organizers/{slug}/events/ and GET /api/v1/organizers/{slug}/events/{slug}/ for any short-description or tagline field we have not yet mapped.
- Ask Eventyay dev team – If no suitable field exists, open a feature request with the Eventyay team to expose a
short_description or headline field via their API.
- Fallback: first sentence of description – As a last resort, derive lead text by extracting the first sentence of the event
description field.
Related
Problem
The single-event hero section displays a lead/tagline paragraph below the event title. This is stored in
wpfa_event_lead_textpost meta and displayed bysingle-wpfa-event.php(line 108).During Eventyay import the repository already tries the following candidate field names from both the event resource and the settings endpoint:
None of these are returned by the Eventyay API for the events tested, so
wpfa_event_lead_textis always empty after import and users must enter the text manually via the WP admin meta box.Expected behaviour
The importer should populate
wpfa_event_lead_textautomatically from the Eventyay event data so that the hero tagline appears without manual entry.Steps to investigate / potential solutions
GET /api/v1/organizers/{slug}/events/andGET /api/v1/organizers/{slug}/events/{slug}/for any short-description or tagline field we have not yet mapped.short_descriptionorheadlinefield via their API.descriptionfield.Related
includes/eventyay-importer/class-wpfaevent-event-repository.phpline 99public/templates/single-wpfa-event.phpline 108