-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
43 lines (26 loc) · 824 Bytes
/
page.php
File metadata and controls
43 lines (26 loc) · 824 Bytes
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
<?php
global $wp_query;
get_header(); ?>
<div id="latest-work" class="latest-work container hover-section">
<?php if ( ! isset( $wp_query->query['post_type'] ) || is_single() || $wp_query->query['post_type'] !== 'tribe_events' ) : ?>
<div class="category-head">
<h4><?php the_title(); ?></h4>
<div class="bars-animation">
<img src="<?php echo THEME_URL; ?>/dist/assets/img/elements/hicon.png" alt="PM">
</div>
</div><!-- Category Head -->
<?php endif; ?>
<div class="row">
<div class="col-sm-12">
<?php
// Start the loop.
while ( have_posts() ) : the_post();
// Include the page content template.
the_content();
// End of the loop.
endwhile;
?>
</div>
</div>
</div>
<?php get_footer();?>