-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
67 lines (43 loc) · 1.21 KB
/
single.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
64
65
66
67
<?php
/**
* Single Template file
*
* @package portofolio-dev
*/
get_header();
?>
<!-- ======= Start Categories section ======= -->
<section class="single-page">
<div class="back-link">
<a href="<?php echo home_url(); ?>">
<div class="icon-arrow-right"></div>
</a>
</div>
<div class="single-section">
<?php
if(have_posts()) {
while(have_posts()) {
the_post(); ?>
<h3 class="title"><?php the_title(); ?></h3>
<div class="section-image">
<img src="<?php the_post_thumbnail_url(); ?>"
alt="<?php the_title_attribute(); ?>">
</div>
<p class="description"><?php the_content(); ?></p>
<!-- <div class="social-media">
<a href="#">
<div class="icon-eye"></div>
</a>
<a href="#">
<div class="icon-link"></div>
</a>
<a href="#">
<div class="icon-github"></div>
</a>
</div> -->
<?php }
}
?>
</div>
</section>
<?php get_footer();?>