• Resolved djjetta

    (@djjetta)


    Hi,

    with the today update this solution didn’t work again. I use the X-Theme and my jobs/single-jobs.php is in child Theme with this code:

    <?php
    function add_single_job() {
    	?>
    	<div class="wrap">
    		<?php
    	if( function_exists('get_job_fields') ) get_job_fields(); ?>
    
    	</div>
    	<?php
    }
    add_action( 'x_before_the_content_begin', 'add_single_job', 10 );

    Now i get a blank white page.

    If i use the standard single-jobs.php i get the site without header and footer.

    Can you please help

    Regards
    Daniel

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author BlueGlass

    (@blueglassinteractive)

    Hi @djjetta,

    I’m not familiar with X-Theme unfortunetly, but dont think that you have to add action on that file…

    Have this worked before?

    As latest updates doesn’t related to the appearance of postings.

    Can you post here there code of regular single.php file of your theme?

    Thread Starter djjetta

    (@djjetta)

    Hi,

    yes this worked and as a part of a Tip in this Forum.

    Single.php:
    <?php x_get_view( x_get_stack(), 'wp', 'single' ); ?>

    Thats it.

    I think they call this file: wp-single.php in their Template:

    $fullwidth = get_post_meta( get_the_ID(), '_x_post_layout', true );
    
    ?>
    
    <?php get_header(); ?>
      
      <div class="x-main full" role="main">
    
        <?php while ( have_posts() ) : the_post(); ?>
          <?php x_get_view( 'icon', 'content', get_post_format() ); ?>
          <?php x_get_view( 'global', '_comments-template' ); ?>
        <?php endwhile; ?>
    
      </div>
    
      <?php if ( $fullwidth != 'on' ) : ?>
        <?php get_sidebar(); ?>
      <?php endif; ?>
    <?php get_footer(); ?>

    I tried a step back to the Last Version of your Plugin by delete it from WordPress an install the old version. But no success.

    Now i tested this with original single-jobs.php: result is the jobs detail site without header & footer.

    If you Need a login to the developer clone installation (wp.jehle-markt.de), please tell me how we could handle this.

    Regards
    Daniel

    Thread Starter djjetta

    (@djjetta)

    Oh,
    i included support from theme.co here is the Forum stream:

    https://theme.co/apex/forum/t/x-template-problem-with-plugin-jobs-for-wordpress-from-blueglass/29249/2

    Regards
    Daniel

    Plugin Author BlueGlass

    (@blueglassinteractive)

    @djjetta

    Can you shara credentioal to gleb[at]blueglass.ee please?

    Thread Starter djjetta

    (@djjetta)

    Hi,

    one of the developers from the X-Theme think:
    “This original issue in the plugin is related to “template redirect” which I can see the plugin author has addressed in the latest update 1.6.9 as you can see in the changelog, it was mentioned Fixed template redirect issue which doesn’t seem to be. I recommend getting in contact with him regarding this main point, regardless my temporary solution that worked in version 1.6.7 that’s now not working in version 1.6.9 the main problem hasn’t been solved in the plugin till now.”

    So now i use your original single-jobs.php in x-child Theme. Now it shows the job details, but without header and Footer. The temporary solution, the developer from x-theme talked about is now in single-jobs.old.php.

    regards
    Daniel

    Plugin Author BlueGlass

    (@blueglassinteractive)

    Hi @djjetta

    The plugin is updated, and issue should be solved now, you can even try without “jobs/single-jobs.php” in your theme, should now also work ??

    Thread Starter djjetta

    (@djjetta)

    Hi,
    thank you. Now it seems to be functional. I need the jobs/single-jobs.php, because i have to insert the theme css classes in wrap tag.

    regards
    Daniel

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘single-jobs.php didn’t work with today update 1.6.9’ is closed to new replies.