have_posts()) : ?>
have_posts()) : $query->the_post();
global $post;
$image = wp_get_attachment_url(get_post_thumbnail_id(get_the_ID()));
$category = get_the_terms($post->ID, 'job_listing_category');
$price = get_post_meta($post->ID, '_price_field');
$location = get_post_meta($post->ID, '_job_location');
if (is_array($location)) {
$location = $location[0] ? $location[0] : '';
}
$price = $price[0] ? $price[0] : '';
?>
' . get_the_title() . ''; ?>