V3 : How to override tribe_events_event_schedule_details(); output ?

Home Forums Calendar Products Events Calendar PRO V3 : How to override tribe_events_event_schedule_details(); output ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #53005
    remwideco
    Participant

    Hi,
    After the last update I would like to know how to override the tribe_events_event_schedule_details(); output. Indeed I’m not satisfied by the standard output and I need to make some improvement.
    Thanks for your help
    William

    #53072
    Barry
    Member

    Hi remwideco.

    It’s definitely worth reviewing our updated themer’s guide, but essentially you have two options.

    1) You can override the single event template
    2) You can filter tribe_events_event_schedule_details and change it to whatever you want that way

    Does that help?

    #53078
    remwideco
    Participant

    Thanks Barry,
    Yes it could be really usefull to update this guide 🙂
    About this question : I’m not really confident with filter. Could you give me a little example, for example to replace the “@” which mean nothing for users of my country ?
    Will it be the same method for other functions like tribe_events_list_the_date_headers(); ?
    Thanks again
    William

    #53231
    Barry
    Member

    Hi William – the guide has already been updated and we will continue to add to it and improve it in response to feedback from users, however most key components are already there.

    A great overview of filters is available in the WordPress codex and probably explains it better and in more depth than I can – but the basic idea is to create a function of your own which accepts the current HTML and returns a modified version.

    #979670
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘V3 : How to override tribe_events_event_schedule_details(); output ?’ is closed to new replies.