-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
58 lines (55 loc) · 1.95 KB
/
home.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
<?php get_header(); ?>
<div class="section">
<div class="container">
<h2 class="title text-center">BLOG</h2>
<br>
<div class="row">
<div class="col-md-8">
<div class="card card-plain card-blog">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="row">
<!--single-->
<div class="col-md-4">
<div class="card-image">
<a href="<?php the_permalink(); ?>"><img class="img img-raised rounded" ><?php if ( has_post_thumbnail() ) {
the_post_thumbnail();
} ?></a>
</div>
</div>
<div class="col-md-8">
<h6 class="category text-ieee"><?php the_category(', '); ?></h6>
<h3 class="card-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</h3>
<p class="card-description">
<?php the_excerpt(); ?>
</p>
<p class="author">
Por
<a href="<?php the_author_link(); ?>">
<b><?php the_author(); ?></b>
</a>, <?php the_date( $d = '', $before = '', $after = '', $echo = true )?>
</p>
</div>
</div>
<hr><br>
<!--end single-->
<?php endwhile; ?>
<!-- post navigation -->
<?php else: ?>
<!-- no posts found -->
<p>No hay nada para mostrar</p>
<?php endif; ?>
</div>
</div>
<!--sidebar-->
<div class="col-md-1"></div>
<div class="col-md-3">
<?php if ( is_active_sidebar( 'home_right' ) ) : ?>
<?php dynamic_sidebar( 'home_right' ); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>