-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-works.php
39 lines (32 loc) · 1.13 KB
/
page-works.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
<?php
/**
* Template Name: Works Page
*/
get_header();
?>
<main>
<?php while ( have_posts() ) : the_post(); ?>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ); ?>
<section class="bgimage" style="background-image:linear-gradient(rgba(0, 0, 0, 0.8),rgba(0, 0, 0, 0.8)), url(<?php echo $image[0];?>)">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-top:15vh">
<h1 class="text-center" title="works from our web development company">
<?php the_title() ?>
</h1>
<h2 class="text-center lead-text">
<?php the_excerpt(); ?>
</h2>
</div>
</div>
</div>
</section>
<section class="container container-masonry">
<div class="row grid" style="margin:3vh 0;">
<?php the_content(); ?>
</div>
<div class="clearfix"></div>
</section>
<?php endwhile; ?>
</main>
<?php get_footer(); ?>