Change the heading / word 'Tickets' on a event page

Home Forums Ticket Products Event Tickets Plus Change the heading / word 'Tickets' on a event page

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #58758
    David Forshaw
    Participant

    Hi Guys
    I am using the WooTickets plugin and my client has asked if we can change the heading / word ‘Tickets’ on a event page.
    This is the heading that is just above the WooTickets tickets section.
    Here is an example page: http://closerangetraining.livepreview.com.au/course-details/american-red-cross-adult-pediatric-first-aidcpraed-4/
    Any direction would be greatly appreciated.
    Cheers guys
    David

    #58759
    David Forshaw
    Participant

    oh and ‘Participants’ is what they want it changed too 🙂

    #58794
    Barry
    Member

    Hi David,

    The first thing to do is read our Themer’s Guide to get the background for setting up template overrides and other related info.

    Then, grab a copy of the tickets view:

    wp-content/plugins/wootickets/views/wootickets/tickets.php

    Now set it up within a template overrides folder inside your theme’s directory (again, please refer to the Themer’s Guide for details on setting this up). You should end up with a duplicate of the above file at:

    wp-content/themes/YOURTHEME/tribe-events/wootickets/tickets.php

    Within your own copy, please locate the following line of code (on or around line 81):

    <h2 class="tribe-events-tickets-title"><?php _e( 'Tickets', 'tribe-wootickets' );?></h2>

    Change it to:

    <h2 class="tribe-events-tickets-title"> Participants </h2>

    Does that help?

    #59450
    David Forshaw
    Participant

    Hi Barry. Thanks for the awesome explanation.

    I have read https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/ and followed your instructions however the change is still not reflected. It still reads ‘Ticket’s’

    Now it worked when i edited ‘/wp-content/plugins/wootickets/views/tickets.php’ so that’s great. But that’s not best practice as we know.

    So I tried the Themers Guide suggestions and created the folders in ‘/wp-content/themes/Karma/tribe-events/wootickets’ and had no luck.

    I even tried adding it to ‘/wp-content/themes/Karma/tribe-events/wootickets’ (becuase we are using a child theme. Still no luck. Still it read ‘Tickets’ Here is an example link: http://closerangetraining.livepreview.com.au/course-details/american-red-cross-adult-pediatric-first-aidcpraed-3/

    Any ideas? Anything that screams out at you that I am missing?

    Cheers
    David

    #59515
    Barry
    Member

    Have you tried adding that directory to your child theme, rather than the Karma parent theme?

    #59605
    David Forshaw
    Participant

    Hi Barry
    Yes i did. Sorry, my fault, I meant to say in the post above:

    ” I even tried adding it to ‘/wp-content/themes/karma-child-theme/tribe-events/wootickets’ (becuase we are using a child theme. Still no luck. Still it read ‘Tickets’”
    So yes I tried both the theme and child theme folders.
    David

    #59661
    Barry
    Member

    Hi David: sorry for the confusion – I just realized you are still using WooTickets 1.0.1, in which case the above isn’t going to work.

    #59662
    Barry
    Member

    Rather than locating the template override at CHILDTHEME/tribe-events/wootickets/tickets.php can you place it at CHILDTHEME/events/tickets.php and see if that works for you?

    #62422
    Barry
    Member

    Closing this out since there’s been no further follow up – if you do require further support please feel free to create a new thread.

    #980290
    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 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Change the heading / word 'Tickets' on a event page’ is closed to new replies.