Custom Theme Directory for Tickets Plus

Home Forums Ticket Products Event Tickets Plus Custom Theme Directory for Tickets Plus

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1046444
    dwruck
    Participant

    I have figured out where to change the name/label for “tickets” (in the /plugins/event-tickets-plus/src/views/wootickets/tickets.php file). What I want to happen is to put this file in my theme folder so I can customize it without fear of future change. I already have a folder for tribe-events in my theme and my customization is working great, but I cannot figure out the folder structure for the tickets-plus folder.

    The instructions in the Themer’s Guide:
    To modify an add-on (for example, the community add-on) create the folder
    /tribe-events/community/
    /tribe-events/pro/
    /tribe-events/tickets/

    I tried the following and none of these worked:
    /tribe-events/tickets-plus/
    /tribe-events/plus/
    /tribe-events/events-tickets-plus/

    I also tried putting the file (/src/views/wootickets/tickets.php) in the original tickets folder and that did not work either. Any idea as to the proper folder structure?

    Also, would you consider adding a similar function like this one below (found in Main.php) to the tickets so that we can hook into the label like this link (https://theeventscalendar.com/knowledgebase/relabeling-the-venue-organizer-sections-in-event-meta/)?

    public function get_venue_label_singular() { 
     return apply_filters( 'tribe_venue_label_singular', esc_html__( 'Venue', 'the-events-calendar' ) ); 
    }
    
    #1047214
    Dan Feeley
    Participant

    I can help on part of this. The custom directory for tickets plus (wootickets) is:
    /tribe-events/wootickets/tickets.php

    #1047580
    dwruck
    Participant

    That worked perfectly. Thank you. Please consider adding the function to change the ticket label in a future release.

    #1048571
    Geoff
    Member

    Hey there!

    Nice work @danfeeley — that’s a perfect answer and I couldn’t have said it better myself. Thanks so much for chiming in with the answer!

    And thanks to you as well, @dwruck. I’ve passed your suggestion to the team and appreciate the idea. 🙂

    Cheers and happy new year!

    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom Theme Directory for Tickets Plus’ is closed to new replies.