• Resolved ovesandersen

    (@ovesandersen)


    hello,
    i use x theme from themeco. but inside each ticket another template is used automaticly. now i followed your tutorial, 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 7 years, 6 months ago by ovesandersen.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    Can you post the original file?

    why no create a shortcode for this page?

    Plugin Author awesomesupport

    (@awesomesupport)

    Yes, but for the single-ticket no exist a shortcode!

    Plugin Author awesomesupport

    (@awesomesupport)

    Because its not needed. It automatically uses your theme’s default single post template.

    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

    (@awesomesupport)

    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.

    Thanks! I think I’ll find a way to do that by editing a single-ticket and adapting to that.

    Thread Starter ovesandersen

    (@ovesandersen)

    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

    (@awesomesupport)

    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

    (@ovesandersen)

    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

    (@awesomesupport)

    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.