-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
57 lines (50 loc) · 2.06 KB
/
index.php
File metadata and controls
57 lines (50 loc) · 2.06 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
52
53
54
55
56
57
<?php get_header(); ?>
<!-- Page Header -->
<!-- Set your background image for this header on the line below. -->
<header class="intro-header" style="background-image: url('<?php echo get_template_directory_uri(); ?>/img/home-bg.jpg')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1>Inspiracion</h1>
<hr class="small">
<span class="subheading">Ideas para joder la vida</span>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="row" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
<h2 class="post-title">
<?php the_title(); ?>
</h2>
<h3 class="post-subtitle">
<?php echo get_the_excerpt(); ?>
</h3>
</a>
<p class="post-meta">Escrito por <?php the_author(); ?> el
<?php the_time( 'j-M-y' ); ?>
</p>
</div>
<hr>
</div>
</div>
<?php endwhile; /* rewind or continue if all posts have been fetched */ ?>
<!-- Pager -->
<ul class="pager">
<li class="next">
<a href="#">Older Posts →</a>
</li>
</ul>
<!--end navigation-->
<?php else : ?>
<?php endif; ?>
</div><!--/container-->
<hr>
<?php get_footer(); ?>