File: /var/www/panigaletech.com/wp-content/themes/panigale/template-parts/job_list.php
<?php
/**
* Template Name: Job List
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
$args = array(
'post_type' => 'jobs',
'posts_per_page' => -1
);
$query = new WP_Query( $args );
foreach($query->posts as $jobs)
{
$job_id = get_post_meta($jobs->ID,'id',true);
$address = get_post_meta($jobs->ID,'address',true);
$employment_type = get_post_meta($jobs->ID,'employment_type',true);
$job_id = get_post_meta($jobs->ID,'id',true);
$job_id = get_post_meta($jobs->ID,'id',true);
$job_id = get_post_meta($jobs->ID,'id',true);
$job_id = get_post_meta($jobs->ID,'id',true);
$job_id = get_post_meta($jobs->ID,'id',true);
?>
<?php
}
?>
<div class="container" style="padding-top:20px;">
</div>
<div style="clear:both;"> </div>
<div class="banner_area">
<div class="banner">
<div class="container-fluid">
<div class="row">
<div class="inner_banner"></div>
</div>
</div>
</div>
</div>
<div style="clear:both;"> </div>
<div class="container">
<div class="row">
<div class="about_us_area" style="min-height:450px;">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div><?php //echo show_all_messages(); ?></div>
<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
<div class="about_us2">
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12" style="border:1px solid #ccc;">
</div>
</div>
</div>
</div>
</div>
<div class="container" >
<p style="text-align: center;">Copyright © 2016-2017 Murphy Business & Financial Corporation LLC. All rights reserved.</p>
</div>
<?php
//get_footer();
?>
<style type="text/css">
.about_us ul li {
background: none;
padding-left:0px;
font-family: 'Lato', sans-serif;
}
.about_us2 strong{
font-weight: bold;
}
textarea{border:none; width:97%}
.title, .title h1{
font-family: 'Lato', sans-serif;
font-size: 22px!important;
line-height: 1.2;
color: #125687!important;
text-align: left;
}
.contact_input li {
width:100%;
}
.ui-dialog{
min-width:500px;
}
strong{font-weight: bold;}
.col-lg-9, .col-md-9 {
padding-left: 0px;
}
.col-lg-3, .col-md-3 {
padding-right: 0px;
}
/*
.ui-widget-header {
border: 1px solid #7b8c9d;
background: #7b8c9d;
}*/
.ui-widget-header {
border: 1px solid #0F3455;
background: #0F3455;
}
.ui-state-default .ui-icon {
background-image: url("<?php echo get_template_directory_uri().'/js/jquery-ui/images/ui-icons_cd0a0a_256x240.png';?>");
}
.ui-state-hover .ui-icon, .ui-state-hover {
background-color:#ffffff;
background-image: url("<?php echo get_template_directory_uri().'/js/jquery-ui/images/ui-icons_cd0a0a_256x240.png';?>");
}
.captch-block.small-box {
width: 100% !important;
max-width: 200px;
min-width: 200px;
}
.captch-block img.captcha-small {
max-width: 149px;
float: left;
}
.captch-block input[type="text"] {
border: 1px solid #ccc;
margin: 2px 0 0 -1px;
margin-top: 0;
}
</style>