-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle-orbis_company.php
More file actions
executable file
·93 lines (67 loc) · 2.31 KB
/
single-orbis_company.php
File metadata and controls
executable file
·93 lines (67 loc) · 2.31 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
85
86
87
88
89
90
91
92
93
<?php get_header(); ?>
<?php
while ( have_posts() ) :
the_post();
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="row row-cols-1 row-cols-md-3 mb-3">
<div class="col">
<div class="card">
<div class="card-header"><?php esc_html_e( 'Details', 'orbis-5' ); ?></div>
<div class="card-body">
<?php get_template_part( 'template-parts/company-general-details' ); ?>
</div>
</div>
</div>
<div class="col">
<div class="card">
<div class="card-header"><?php esc_html_e( 'Contacts', 'orbis-5' ); ?></div>
<?php get_template_part( 'template-parts/company-contacts' ); ?>
</div>
</div>
<div class="col">
<div class="card">
<div class="card-header"><?php esc_html_e( 'Users', 'orbis-5' ); ?></div>
<?php get_template_part( 'template-parts/company-users' ); ?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-8">
<?php do_action( 'orbis_before_main_content' ); ?>
<?php if ( ! empty( get_the_content() ) ) : ?>
<div class="card mb-3">
<div class="card-header"><?php esc_html_e( 'Description', 'orbis-5' ); ?></div>
<div class="card-body">
<?php the_content(); ?>
</div>
</div>
<?php endif; ?>
<?php get_template_part( 'templates/company_sections' ); ?>
<?php do_action( 'orbis_after_main_content' ); ?>
<?php comments_template( '', true ); ?>
</div>
<div class="col-md-4">
<?php do_action( 'orbis_before_side_content' ); ?>
<?php get_template_part( 'templates/company_twitter' ); ?>
<div class="card">
<div class="card-header"><?php esc_html_e( 'Additional Information', 'orbis-5' ); ?></div>
<div class="card-body">
<dl>
<dt><?php esc_html_e( 'Posted on', 'orbis-5' ); ?></dt>
<dd><?php echo esc_html( get_the_date() ); ?></dd>
<dt><?php esc_html_e( 'Posted by', 'orbis-5' ); ?></dt>
<dd><?php echo esc_html( get_the_author() ); ?></dd>
<?php if ( null !== get_edit_post_link() ) : ?>
<dt><?php esc_html_e( 'Actions', 'orbis-5' ); ?></dt>
<dd><?php edit_post_link( __( 'Edit', 'orbis-5' ) ); ?></dd>
<?php endif; ?>
</dl>
</div>
</div>
<?php do_action( 'orbis_after_side_content' ); ?>
</div>
</div>
</div>
<?php endwhile; ?>
<?php get_footer(); ?>