- This topic has 1 reply, 2 voices, and was last updated 7 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › call an event attribute in the search results?
Tagged: attributes, search
Hey there! I am using your example from the FAQs to get events to appear in the search results.
<h2><a href='".eme_event_url($event)."'>".$event['event_name']."</a> ".$event['event_start_date']."</h2>
I need to call an event attribute out.
What is the code to get them out?
$event[‘event_attributes[‘Event Topic’]’]? Am I close? 🙂
Close, but your closing tags are wrong:
$event['event_attributes']['Event Topic']
If unsure: do a print_r($event) (or var_dump).