-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-orbis_task.php
executable file
·71 lines (51 loc) · 1.71 KB
/
single-orbis_task.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
68
69
70
71
<?php get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="row">
<div class="col-md-8">
<?php do_action( 'orbis_before_main_content' ); ?>
<div class="panel">
<header>
<h3><?php _e( 'Description', 'orbis' ); ?></h3>
</header>
<div class="content clearfix">
<?php if ( has_post_thumbnail() ) : ?>
<div class="thumbnail">
<?php the_post_thumbnail( 'thumbnail' ); ?>
</div>
<?php endif; ?>
<?php the_content(); ?>
</div>
</div>
<?php do_action( 'orbis_after_main_content' ); ?>
<?php comments_template( '', true ); ?>
</div>
<div class="col-md-4">
<?php do_action( 'orbis_before_side_content' ); ?>
<div class="panel">
<header>
<h3><?php _e( 'Additional Information', 'orbis' ); ?></h3>
</header>
<div class="content">
<dl>
<dt><?php _e( 'Posted on', 'orbis' ); ?></dt>
<dd><?php echo esc_html( get_the_date() ); ?></dd>
<dt><?php _e( 'Posted by', 'orbis' ); ?></dt>
<dd><?php echo esc_html( get_the_author() ); ?></dd>
<dt><?php _e( 'Project', 'orbis' ); ?></dt>
<dd><?php orbis_task_project(); ?></dd>
<dt><?php _e( 'Assignee', 'orbis' ); ?></dt>
<dd><?php orbis_task_assignee(); ?></dd>
<dt><?php _e( 'Deadline', 'orbis' ); ?></dt>
<dd><?php orbis_task_due_at(); ?></dd>
<dt><?php _e( 'Actions', 'orbis' ); ?></dt>
<dd><?php edit_post_link( __( 'Edit', 'orbis' ) ); ?></dd>
</dl>
</div>
</div>
<?php do_action( 'orbis_after_side_content' ); ?>
</div>
</div>
</div>
<?php endwhile; ?>
<?php get_footer(); ?>