-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive-service.php
59 lines (37 loc) · 1.29 KB
/
archive-service.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
<?php get_header();
$query_services = array(
'post_type' => 'service',
);
$services = new WP_Query( $query_services );
?>
<div class="center-text white my-margin-bottom">
<h2>
Services
</h2>
<nav aria-label="breadcrumb">
<ol class="breadcrumb" style="justify-content: center;background-color:white;">
<li class="breadcrumb-item"><a href="<?php echo(get_home_url())?>">Homepage</a></li>
<li class="breadcrumb-item active" aria-current="page">Services</li>
</ol>
</nav>
</div>
<div class="container" style="padding:100px 15px">
<div class="row">
<?php
while ($services->have_posts()) : $services->the_post()
?>
<div class="col-md-4 mission" style="margin-bottom:50px;">
<h3><?php the_title()?></h3>
<div class="horizontal-bar"></div>
<img src="<?php echo(get_the_post_thumbnail_url())?>" class="img-fluid" alt="">
<br><br>
<?php the_excerpt()?>
<br>
<a href="<?php the_permalink()?>" class="my-primary-btn">Read more</a>
</div>
<?php
endwhile;
?>
</div>
</div>
<?php get_footer(); ?>