Events Made Easy Forums How do I … call an event attribute in the search results?

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #58469
    Anonymous
    Inactive

    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? 🙂

    #58470
    Franky
    Keymaster

    Close, but your closing tags are wrong:

    $event['event_attributes']['Event Topic']

    If unsure: do a print_r($event) (or var_dump).

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top