-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-job.php
67 lines (49 loc) · 1.92 KB
/
single-job.php
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
<?php
/**
* @package WordPress
* @subpackage Adapt Theme
*/
?>
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<header id="page-heading">
<h1><?php _e('Jobs',''); ?></h1>
<nav id="single-nav" class="clearfix">
<?php next_post_link('<div id="single-nav-left">%link</div>', '<span class="awesome-icon-chevron-left"></span> '.__('Newer','adapt').'', false); ?>
<?php previous_post_link('<div id="single-nav-right">%link</div>', ''.__('Older','adapt').' <span class="awesome-icon-chevron-right"></span>', false); ?>
</nav>
<!-- /single-nav -->
</header>
<article class="post clearfix">
<header>
<h1 class="single-title"><?php the_title(); ?></h1>
<div class="post-meta">
<span class="awesome-icon-calendar"></span><?php _e('On','surplus'); ?> <?php the_time('j'); ?> <?php the_time('M'); ?>, <?php the_time('Y'); ?>
<span class="awesome-icon-user"></span><?php _e('By', 'surplus'); ?> <?php the_author_posts_link(); ?>
<span class="awesome-icon-comments"></span><?php WP_Jobs::jobtype_label_for_job() ?>
</div>
<!-- /loop-entry-meta -->
</header>
<div class="entry clearfix">
<p><?php the_content(); ?></p>
<?php
$email = get_the_author_meta('user_email');
$email = str_replace('@', ' at ', $email);
$email = str_replace('.', ' dot ', $email);
?>
<p><a href="/jobs">See all Jobs</a></p>
<div class="clear"></div>
<?php wp_link_pages(' '); ?>
<div class="post-bottom">
<?php the_tags('<div class="post-tags"><span class="awesome-icon-tags"></span>',' , ','</div>'); ?>
</div>
<!-- /post-bottom -->
</div>
<!-- /entry -->
<?php comments_template(); ?>
</article>
<!-- /post -->
<?php endwhile; ?>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>