Title: template not working (single-ticket.php)
Last modified: May 15, 2017

---

# template not working (single-ticket.php)

 *  Resolved [ovesandersen](https://wordpress.org/support/users/ovesandersen/)
 * (@ovesandersen)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/)
 * hello,
    i use x theme from themeco. but inside each ticket another template is
   used automaticly. now i followed your [tutorial](https://getawesomesupport.com/documentation/awesome-support/ticket-details-page-template/),
   but it still cant get the teplate i am asking.
 * my file “single-ticket.php”, is now looking like this:
 *     ```
       <?php
   
       // =============================================================================
       // VIEWS/RENEW/TEMPLATE-LAYOUT-FULL-WIDTH.PHP
       // -----------------------------------------------------------------------------
       // Fullwidth page output for Renew.
       // =============================================================================
   
       ?>
   
       <?php get_header(); ?>
   
         <div class="x-container max width offset">
           <div class="<?php wpas_single_ticket(); ?>" role="main">
   
               <?php while ( have_posts() ) : the_post(); ?>
                 <?php x_get_view( 'ethos', 'content', 'page' ); ?>
                 <?php x_get_view( 'global', '_comments-template' ); ?>
               <?php endwhile; ?>
   
           </div>
         </div>
   
       <?php get_footer(); ?>
       ```
   
 * what to do?
    -  This topic was modified 9 years, 1 month ago by [ovesandersen](https://wordpress.org/support/users/ovesandersen/).

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * (@awesomesupport)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9138931)
 * Hi:
 * Can you post the original file?
 *  [guarrodesign](https://wordpress.org/support/users/guarrodesign/)
 * (@guarrodesign)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9146698)
 * why no create a shortcode for this page?
 *  Plugin Author [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * (@awesomesupport)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9147061)
 * You can find our shortcodes here: [https://getawesomesupport.com/documentation-new/documentation-awesome-support-core-getting-started/#admin-short-codes-pages](https://getawesomesupport.com/documentation-new/documentation-awesome-support-core-getting-started/#admin-short-codes-pages)
 * Thanks.
 *  [guarrodesign](https://wordpress.org/support/users/guarrodesign/)
 * (@guarrodesign)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9147143)
 * Yes, but for the single-ticket no exist a shortcode!
 *  Plugin Author [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * (@awesomesupport)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9147199)
 * Because its not needed. It automatically uses your theme’s default single post
   template.
 *  [guarrodesign](https://wordpress.org/support/users/guarrodesign/)
 * (@guarrodesign)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9147205)
 * Thanks for replying, what happens is that I’m using Visual-Composer and this 
   does not allow me to include it inside a custom page.
 *  Plugin Author [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * (@awesomesupport)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9147221)
 * Hi:
 * Unfortunately we don’t use Visual Composer so we don’t know enough to offer any
   advice. But, ff the theme that uses Visual Composer has a default single template
   then our data should show up on it.
 * Thanks.
 *  [guarrodesign](https://wordpress.org/support/users/guarrodesign/)
 * (@guarrodesign)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9148856)
 * Thanks! I think I’ll find a way to do that by editing a single-ticket and adapting
   to that.
 *  Thread Starter [ovesandersen](https://wordpress.org/support/users/ovesandersen/)
 * (@ovesandersen)
 * [9 years ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9152891)
 * dont know what happend here, ticket overtake or whatever. it not solved at all,
   and what do you need?
 * > Hi: Can you post the original file?
 * the code submitted at the top is the file, there is nothing more to it..
 *  Plugin Author [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * (@awesomesupport)
 * [9 years ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9152992)
 * Hi:
 * Unfortunately the code in that file is not enough. Since we’re not familiar with
   the theme we can’t tell you where to look but you can probably follow the chain
   of template parts to figure out the file that is needed.
 * It’s going to be very hard for us to offer free support for this kind of change–
   we’re just not familiar with the theme or with visual composer.
 * Maybe someone else from the community can jump in and help.
 * Thanks very much.
 *  Thread Starter [ovesandersen](https://wordpress.org/support/users/ovesandersen/)
 * (@ovesandersen)
 * [9 years ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9153205)
 * so i have copyed the source code from a normal page, the footer and header part
   and included that in the file, instead of using <?php get_header(); ?>. so no
   off course its working, but that not a good solution at all. so you see, in single
   ticket, the header and footer <?php get_header(); ?><?php get_footer(); ?>, its
   getting its data from somewhere else. i can provide you with login data on ftp
   and backend if you want to have a look, because this is way over my head.
 *  Plugin Author [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * (@awesomesupport)
 * [9 years ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9154411)
 * Hi:
 * Unfortunately we don’t log into systems to perform free support – we only do 
   that for customers who purchase our premium products. We also don’t provide free
   support for custom code especially where we’re not familiar with the theme or
   plugin being modified. Even our premium support policy does not cover unpaid 
   customized code troubleshooting. If we did that we’d never have any time or revenue
   to support actually writing code for this plugin. I hope that makes sense.
 * Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘template not working (single-ticket.php)’ is closed to new replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

## Tags

 * [template](https://wordpress.org/support/topic-tag/template/)

 * 12 replies
 * 3 participants
 * Last reply from: [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/template-not-working-single-ticket-php/#post-9154411)
 * Status: resolved