File: /var/www/panigaletech.com/wp-content/themes/panigale/single-jobs.php
<?php
/**
* The template for displaying all single posts and attachments
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
//get_header(); ?>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
// Start the loop.
while ( have_posts() ) :
the_post();
$wp_job_id = get_the_ID();
$job_id = get_post_meta($wp_job_id,'id',true);
$address = get_post_meta($wp_job_id,'address',true);
$employment_type = get_post_meta($wp_job_id,'employment_type',true);
$owner = get_post_meta($wp_job_id,'owner',true);
$payrate = get_post_meta($wp_job_id,'payrate',true);
$years_required = get_post_meta($wp_job_id,'years_required',true);
$client_contact = get_post_meta($wp_job_id,'client_contact',true);
$client_corporation = get_post_meta($wp_job_id,'client_corporation',true);
$description = get_post_meta($wp_job_id,'description',true);
$public_description = get_post_meta($wp_job_id,'public_description',true);
$num_of_openings = get_post_meta($wp_job_id,'num_of_openings',true);
$job_status = get_post_meta($wp_job_id,'job_status',true);
$address_city = get_post_meta($wp_job_id,'address_city',true);
$address_state = get_post_meta($wp_job_id,'address_state',true);
$address_zip = get_post_meta($wp_job_id,'address_zip',true);
$address_country = get_post_meta($wp_job_id,'address_country',true);
$date_added = get_post_meta($wp_job_id,'date_added',true);
$full_data = get_post_meta($wp_job_id,'full_data',true);
// Include the single post content template.
get_template_part( 'template-parts/content', 'single' );
?>
<div class="row" style="width:90%; padding-left:15px;">
<div class="col-md-2 heading">Job ID:</div><div class="col-md-10"><?php echo $job_id;?></div>
<div class="col-md-2 heading">Address:</div><div class="col-md-10"><?php echo $address.','.$address_city.','.$address_zip;?></div>
<div class="col-md-2 heading">Employment Type:</div><div class="col-md-10"><?php echo $employment_type;?></div>
<div class="col-md-2 heading">Pay Rate:</div><div class="col-md-10"><?php echo $payrate;?></div>
<div class="col-md-2 heading">Yrs of Experience Required:</div><div class="col-md-10"><?php echo $years_required;?></div>
<div class="col-md-2 heading">Owner:</div><div class="col-md-10"><?php echo $owner;?></div><br/>
<div class="col-md-2 heading">Client Contact:</div><div class="col-md-10"><?php echo $client_contact;?></div><br/>
<div class="col-md-2 heading">Client Corporation:</div><div class="col-md-10"><?php echo $client_corporation;?></div><br/>
<div class="col-md-2 heading">Job Status:</div><div class="col-md-10"><?php echo $job_status;?></div><br/>
<div class="col-md-2 heading">Description:</div><div class="col-md-10"><?php echo $public_description;?></div>
</div>
<?php
// End of the loop.
endwhile;
?>
</main><!-- .site-main -->
<?php //get_sidebar( 'content-bottom' ); ?>
</div><!-- .content-area -->
<?php //get_sidebar(); ?>
<?php //get_footer(); ?>
<style type="text/css">
.heading {
background: none;
font-family: 'Lato', sans-serif;
font-weight: bold;
}
</style>