-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-employment.php
More file actions
84 lines (54 loc) · 1.45 KB
/
page-employment.php
File metadata and controls
84 lines (54 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
/**
* Template Name: Employment
*
* @package Isings_Culligan
*/
get_header();
?>
<div class="page-content-wrapper container">
<div class="row">
<div id="primary" class="content-area col-sm-12">
<main id="main" class="site-main">
<?php
while ( have_posts() ) :
the_post();
?>
<h1><?php the_title(); ?></h1>
<p><?php the_content(); ?></p>
<div class="jobs-wrapper">
<div class="jobs">
<?php
$ic_job_args = array(
'post_type' => 'ic_opening',
'order' => 'DESC',
'posts_per_page' => '-1',
);
$ic_jobs = new WP_Query( $ic_job_args );
if ( $ic_jobs->have_posts() ) {
while ( $ic_jobs->have_posts() ) {
$ic_jobs->the_post();
?>
<div class="job-card">
<h2 class="job-name"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p><?php the_excerpt(); ?></p>
</div>
<?php
} // endwhile for jobs
} else {
echo '<p>No jobs have been found.</p>';
};
wp_reset_postdata();
?>
</div>
</div>
<?php
endwhile; // End of the loop.
?>
</main><!-- #main -->
</div><!-- #primary -->
</div>
</div>
<?php // get_template_part('template-parts/section-blog-with-solution'); ?>
<?php
get_footer();