} elseif ($currency == "inr") { $currency = "<i class='icon-inr'></i>"; } elseif ($currency == "jpy") { $currency = "<i class='icon-jpy'></i>"; } elseif ($currency == "cny") { $currency = "<i class='icon-cny'></i>"; } elseif ($currency == "krw") { $currency = "<i class='icon-krw'></i>"; } elseif ($currency == "btc") { $currency = "<i class='icon-btc'></i>"; } else { $currency = "<i class='icon-usd'></i>"; } ?> <li <?php job_listing_class(); ?> > <a href="<?php the_job_permalink(); ?> "> <?php the_company_logo(); ?> <div class="position"> <h3><i class="icon-user"></i> <?php the_title(); ?> </h3> <div class="company">
/** * The template for displaying job listings (in a loop). * * @package Listify */ //$event_post = $post = $post; $post_id = get_post_meta($post->ID, '_event_parent', true); $event_post = get_post($post->ID); $post = get_post($post_id); ?> <li id="job_listing-<?php the_ID(); ?> " <?php job_listing_class(array('col-sm-4', 'col-md-4')); ?> <?php echo apply_filters('listify_job_listing_data', '', false); ?> data-date="<?php echo date('d-M-Y-H-i', strtotime(get_the_job_date($event_post))); ?> "> <div class="content-box"> <a href="<?php the_permalink(); ?> " class="job_listing-clickbox"></a>
<li <?php job_listing_class(array('col-sm-3', 'col-md-3')); ?> > <a href="<?php the_job_permalink(); ?> "> <div class="position"> <h3><?php the_title(); ?> </h3> </div> <ul class="meta"> <li class="location"><?php the_job_location(false); ?> </li> <li class="company"><?php the_company_name(); ?> </li> <li class="job-type <?php echo get_the_job_type() ? sanitize_title(get_the_job_type()->slug) : ''; ?> "><?php the_job_type(); ?> </li> </ul>