Skip to content

Instantly share code, notes, and snippets.

@tripflex
Created July 24, 2017 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tripflex/48330664141125f9c0e32005da9644dc to your computer and use it in GitHub Desktop.
Save tripflex/48330664141125f9c0e32005da9644dc to your computer and use it in GitHub Desktop.
Jobify add job_description field between Job Title and Company Name
<li id="job_listing-<?php the_ID(); ?>" <?php jobify_listing_html_class(); ?> <?php echo apply_filters( 'jobify_listing_data', '' ); ?>>
<a href="<?php jobify_listing_permalink(); ?>" class="job_listing-clickbox"></a>
<div class="job_listing-logo">
<?php jobify_the_company_logo( 'fullsize' ); ?>
</div><div class="job_listing-about">
<div class="job_listing-position job_listing__column">
<h3 class="job_listing-title"><?php the_title(); ?></h3>
<p>
<?php the_job_field( 'job_description' ); ?>
</p>
<div class="job_listing-company">
<?php jobify_the_company_name( '<strong>', '</strong> ' ); ?>
<?php jobify_the_company_tagline( '<span class="job_listing-company-tagline">', '</span>' ); ?>
</div>
</div>
<div class="job_listing-location job_listing__column">
<?php echo jobify_get_formatted_address(); ?>
</div>
<ul class="job_listing-meta job_listing__column">
<?php do_action( 'job_listing_meta_start' ); ?>
<li class="job_listing-type job-type <?php echo jobify_get_the_job_type() ? sanitize_title( jobify_get_the_job_type()->slug ) : ''; ?>"><?php jobify_the_job_type(); ?></li>
<li class="job_listing-date"><date><?php printf( __( '%s ago', 'jobify' ), human_time_diff( get_post_time( 'U' ), current_time( 'timestamp' ) ) ); ?></date></li>
<?php do_action( 'job_listing_meta_end' ); ?>
</ul>
</div>
</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment