-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
51 lines (41 loc) · 1.62 KB
/
index.php
File metadata and controls
51 lines (41 loc) · 1.62 KB
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
<?php get_header()?>
<header class="header">
<img src="<?php echo get_stylesheet_directory_uri()?>/images/codey4klogogrande.png" alt="logo" class="header__logo"/>
</header>
<!--<section class="features">-->
<!-- <div class="features__container">-->
<!-- <div class="features__bg"></div>-->
<!-- <h1 class="features__title">Features</h1>-->
<!-- <p class="features__description">Lorem ipsum dolor sit amet, consectetuer adipiscing elit,-->
<!-- sed diam nonummy nibh euismod tincidunt ut laoreet dolore-->
<!-- magna aliquam erat volutpat. -->
<!-- </p>-->
<!-- </div>-->
<!--</section>-->
<section class="main">
<div class="main__container">
<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>
<article class="post"> <!--wrap article-->
<!--post title-->
<figure>
<?php
echo get_the_post_thumbnail(
$post_id,
'thumbnail',
array('class'=>'post__thumbnail', 'alt'=> get_the_title() )
);
?>
</figure>
<div class="post__title">
<a href="<?php echo get_permalink(); ?>">
<h2><?php the_title(); ?></h2>
</a>
</div>
<div class="post__excerpt">
<?php the_excerpt(); ?>
</div>
</article>
<?php endwhile; endif;?>
</div>
</section>
<?php get_footer()?>