Current Path : /storage/v11800/alliedessence/public_html/wp-content/plugins/wp-job-manager/templates/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/alliedessence/public_html/wp-content/plugins/wp-job-manager/templates/content-summary-job_listing.php |
<?php
/**
* Job listing summary
*
* This template can be overridden by copying it to yourtheme/job_manager/content-summary-job_listing.php.
*
* @see https://wpjobmanager.com/document/template-overrides/
* @author Automattic
* @package wp-job-manager
* @category Template
* @version 1.31.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
global $job_manager;
?>
<a href="<?php the_permalink(); ?>">
<?php if ( get_option( 'job_manager_enable_types' ) ) { ?>
<?php $types = wpjm_get_the_job_types(); ?>
<?php if ( ! empty( $types ) ) : foreach ( $types as $type ) : ?>
<div class="job-type <?php echo esc_attr( sanitize_title( $type->slug ) ); ?>"><?php echo esc_html( $type->name ); ?></div>
<?php endforeach; endif; ?>
<?php } ?>
<?php if ( $logo = get_the_company_logo() ) : ?>
<img src="<?php echo esc_url( $logo ); ?>" alt="<?php the_company_name(); ?>" title="<?php the_company_name(); ?> - <?php the_company_tagline(); ?>" />
<?php endif; ?>
<div class="job_summary_content">
<h2 class="job_summary_title"><?php wpjm_the_job_title(); ?></h2>
<p class="meta"><?php the_job_location( false ); ?> — <?php the_job_publish_date(); ?></p>
</div>
</a>