Created
January 20, 2015 00:59
-
-
Save tripflex/55a67f7d05a09f04d772 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="single_job_listing" itemscope itemtype="http://schema.org/JobPosting"> | |
<meta itemprop="title" content="<?php echo esc_attr( $post->post_title ); ?>" /> | |
<?php if ( $post->post_status == 'expired' ) : ?> | |
<div class="job-manager-info"><?php _e( 'This listing has expired', 'wp-job-manager' ); ?></div> | |
<?php else : ?> | |
<?php | |
/** | |
* single_job_listing_start hook | |
* | |
* @hooked job_listing_meta_display - 20 | |
* @hooked job_listing_company_display - 30 | |
*/ | |
do_action( 'single_job_listing_start' ); | |
?> | |
<div class="job_description" itemprop="description"> | |
<?php echo apply_filters( 'the_job_description', get_the_content() ); ?> | |
</div> | |
<?php | |
/** | |
* single_job_listing_end hook | |
*/ | |
do_action( 'single_job_listing_end' ); | |
?> | |
<?php if ( ! is_position_filled() && $post->post_status !== 'preview' ) : ?> | |
<?php get_job_manager_template( 'job-application.php' ); ?> | |
<?php endif; ?> | |
<?php endif; ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment