Modify HTML for Related Events

Home Forums Calendar Products Events Calendar PRO Modify HTML for Related Events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #63570
    lilydigital
    Participant

    Hello,

    I’m styling up an individual event page and would like to modify the HTML that is output for Related Events. I’ve searched through the code and tracked this down to a function ‘tribe_single_related_events’ in events-calendar-pro\public\template-tags\general.php. I was hoping this might might be something that could be overwritten. Is there a way I could modify the output within my theme?

    Thanks,

    Samantha

    #63588
    Barry
    Member

    Hi Samantha. You could remove the existing output first of all with something like:

    remove_action('tribe_events_single_event_after_the_meta', 'tribe_single_related_events');

    Then attach your own function (which might initially be based on/a copy of) the existing tribe_single_related_events() function) and tweak from there. Does that help?

    #980485
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Modify HTML for Related Events’ is closed to new replies.