Created
April 16, 2017 22:44
-
-
Save purethemes/c4b6327933b8c0bb800418c1511c42a8 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
<h1><?php the_title(); ?> | |
<?php if ( get_option( 'job_manager_enable_types' ) ) { | |
$types = get_the_terms( $post->ID, 'job_listing_type' ); | |
if ( $types && ! is_wp_error( $types ) ) : | |
foreach ( $types as $type ) { ?> | |
<span class="job-type <?php echo sanitize_title( $type->slug ); ?>"><?php echo $type->name; ?></span> | |
<?php } | |
endif;?> | |
<?php } ?> | |
<?php if(workscout_newly_posted()) { echo '<span class="new_job">'.esc_html__('NEW','workscout').'</span>'; } ?> | |
</h1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment