Thank you for yours replies but I don’t know how to do that.
Here is what i understand
Create a single-job_listing.php and add the page.php or single.php content in this file. Which one do i have to use
Here is the page.php:
<?php
$latteParams['post'] = WpLatte::createPostEntity(
$GLOBALS['wp_query']->post,
array(
'meta' => $GLOBALS['pageOptions'],
)
);
/**
* Fire!
*/
WPLatte::createTemplate(basename(__FILE__, '.php'), $latteParams)->render();
and the single.php
<?php
$latteParams['post'] = WpLatte::createPostEntity(
$GLOBALS['wp_query']->post,
array(
'meta' => $GLOBALS['pageOptions'],
)
);
ob_start();
comments_template('');
ob_get_clean();
/**
* Fire!
*/
WPLatte::createTemplate(basename(__FILE__, '.php'), $latteParams)->render();
and then how can I customise single-job_listing.php to fix my problem?
Thank you