-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
63 lines (60 loc) · 1.59 KB
/
page.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
<?php get_header(); ?>
<!-- Posts Section -->
<section id="dev-posts-section">
<div class="dev-posts-inner">
<div class="container">
<div class="row">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
?>
<div class="col-12 col-sm-8 col-md-8 py-3">
<div class="row">
<div class="col-sm-12 col-md-12">
<div>
<h1 class="dev-intro"><?php the_title(); ?><span>.</span></h1>
</div>
<div>
<h2 class="dev-intro-2 py-2"><?php the_excerpt(); ?>
</h2>
</div>
<div>
<h4 class="dev-intro-para py-2">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nisi hic nostrum doloremque pariatur accusantium magni.
</div>
<hr>
</div>
<div class="col-sm-12 col-md-12">
<div class="dev-page-card">
<div class="dev-page-img">
<a href="#"><img class="img img-fluid" src="img/post_img02.jpeg" alt=""></a>
<?php
if ( has_post_thumbnail() ) :
the_post_thumbnail( 'full' );
endif;
?>
</div>
<div class="dev-page-body">
<div class="dev-single-page-content">
<?php the_content(); ?>
</div>
</div>
<?php the_category( '' ); ?>
<hr>
</div>
</div>
</div>
</div>
<?php
endwhile;
endif;
?>
<?php get_sidebar(); ?>
</div>
</div>
</div>
</section>
<?php
get_footer();
?>