Support » Plugin: Event Tickets » Override Template tag dir

  • Resolved Marcel



    I try to make an override for the “Sold out” text. This file is stored in plugins/event-tickets/src/template-tags/tickets.php

    I’ve made a copy and place this in my theme-folder my-theme/event0-tickets/template-tags/tickets.php but it doesn’t work.

    Can anybody tell me the exact path in my theme?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author András Guseo


    Hey @mgringo,

    Thanks for your great question!

    Our Themer’s Guide should have all the info you need. However, only the files in the ‘views’ folder can be overridden.

    Nonetheless, the plugin called ‘Say What’ can help you achieve what you need. Get it from the .org repo. After activation go to Tools > Text changes and create a new one like this:

    Original string: Sold out
    Text domain: event-tickets
    Text context: list view stock sold out
    Replacement string: whatever you want

    Note, this is case and character sensitive so the texts need to be exactly as you find them in that file on line 204.

    That should do the trick. Let me know if it works.


    Hey there,

    Since this thread has been inactive for a while, I’m going to go ahead and mark it as resolved. Don’t hesitate to create a new thread any time you help again!

    Ed 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Override Template tag dir’ is closed to new replies.