Title: Template override not working
Last modified: November 24, 2016

---

# Template override not working

 *  Resolved [mattf10](https://wordpress.org/support/users/mattf10/)
 * (@mattf10)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/template-overrides-2/)
 * I’m trying to override a template in my theme but it’s not getting picked up.
   The template is /wp-content/themes/<my child theme>/event-area/general-admission/
   owns.php.
 * Is this the correct folder?

Viewing 1 replies (of 1 total)

 *  Plugin Author [quadshot](https://wordpress.org/support/users/quadshot/)
 * (@quadshot)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/template-overrides-2/#post-8548805)
 * [@mattf10](https://wordpress.org/support/users/mattf10/) here’s the basic construct:
 * Some of our customers need to edit Ticket Templates in order to print to non-
   standard printers, like Boca or iTX printers.
 * Here are instructions for your developer on the template setup if you do this
   yourself:
    —————– copy: /home/(website)/public_html/wp-content/plugins/opentickets-
   community-edition/templates/tickets/* to: /home/(website)/public_html/wp-content/
   themes/itheme2/tickets/*
 * Notice in my example, I am copying the files to a ‘subdirectory’ inside the theme,
   called/tickets/, not the base theme folder.
    The ‘main template’, which is basic-
   ticket.php, is just the file that puts all the pieces of the ticket together.
   Each separate section of the ticket is governed by a separate ‘subtemplate’ file.
   ALL of the subtemplates are located at:
 * /home/(website)t/public_html/wp-content/plugins/opentickets-community-edition/
   templates/tickets/ticket/*
 * Notice that this is the original directory that the basic-ticket.php file was
   copied from, but it has an extra subdirectory tacked on, /ticket/. Copying these
   files follow the same format as the main file. Here is an example, just to be
   clear (and can be directly applied to all files in this subdirectory):
 * copy: /home/(website)/public_html/wp-content/plugins/opentickets-community-edition/
   templates/tickets/ticket/venue-info.php
    to: /home/(website)/public_html/wp-content/
   themes/(yourtheme)/tickets/ticket/venue-info.php This whole idea of ‘overwriting
   templates’ from our plugin goes well beyond just modifying the ticket template.
   You can do this same exact template override with every template in our plugin’s/
   template/ directory, following the same format as above. To be ultra clear, all
   you do is change the /home/(website)/public_html/wp-content/plugins/opentickets-
   community-edition/templates/ part of the path of the file to /home/(website)/
   public_html/wp-content/themes/(yourtheme)/. Every other segment of the path stays
   the same.
 * —-
 * Does this help? Please re-open if this isn’t working.

Viewing 1 replies (of 1 total)

The topic ‘Template override not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/opentickets-community-edition_bcbcb3.
   svg)
 * [OpenTickets Community Edition](https://wordpress.org/plugins/opentickets-community-edition/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/opentickets-community-edition/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/opentickets-community-edition/)
 * [Active Topics](https://wordpress.org/support/plugin/opentickets-community-edition/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/opentickets-community-edition/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/opentickets-community-edition/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [quadshot](https://wordpress.org/support/users/quadshot/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/template-overrides-2/#post-8548805)
 * Status: resolved