Created
February 9, 2016 12:28
-
-
Save jelukas/6ba6d46fcc6df61f4069 to your computer and use it in GitHub Desktop.
index.php modificado del Post como Crear tu Primera tema Wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content="<?php bloginfo('description'); ?>"> | |
<meta name="author" content=""> | |
<title><?php wp_title(); ?></title> | |
<?php wp_head(); ?> | |
<!-- Custom Fonts --> | |
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | |
<link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'> | |
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | |
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | |
<!--[if lt IE 9]> | |
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | |
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> | |
<![endif]--> | |
</head> | |
<body> | |
<!-- Navigation --> | |
<nav class="navbar navbar-default navbar-custom navbar-fixed-top"> | |
<div class="container-fluid"> | |
<!-- Brand and toggle get grouped for better mobile display --> | |
<div class="navbar-header page-scroll"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | |
<span class="sr-only">Toggle navigation</span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<a class="navbar-brand" href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a> | |
</div> | |
</div> | |
<!-- /.container --> | |
</nav> | |
<!-- Page Header --> | |
<!-- Set your background image for this header on the line below. --> | |
<header class="intro-header" style="background-image: url('https://snap-photos.s3.amazonaws.com/img-thumbs/960w/ZDXHLQ6DZW.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><?php bloginfo('name'); ?></h1> | |
<hr class="small"> | |
<span class="subheading"><?php bloginfo('description'); ?></span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</header> | |
<!-- Main Content --> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<div class="post-preview"> | |
<a href="<?php the_permalink() ?>"> | |
<h2 class="post-title"> | |
<?php the_title(); ?> | |
</h2> | |
<h3 class="post-subtitle"> | |
<?php the_content('Leer Más »'); ?> | |
</h3> | |
</a> | |
<p class="post-meta">Por <?php the_author(); ?> el <?php the_time('d-m-Y'); ?></p> | |
</div> | |
<hr> | |
<!-- Fin del Bucle de Posts (loop)--> | |
<?php endwhile; endif; ?> | |
<!-- Pager --> | |
<ul class="pager"> | |
<li class="next"> | |
<a href="#">Older Posts →</a> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
<hr> | |
<!-- Footer --> | |
<footer> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | |
<ul class="list-inline text-center"> | |
<li> | |
<a href="#"> | |
<span class="fa-stack fa-lg"> | |
<i class="fa fa-circle fa-stack-2x"></i> | |
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i> | |
</span> | |
</a> | |
</li> | |
<li> | |
<a href="#"> | |
<span class="fa-stack fa-lg"> | |
<i class="fa fa-circle fa-stack-2x"></i> | |
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i> | |
</span> | |
</a> | |
</li> | |
<li> | |
<a href="#"> | |
<span class="fa-stack fa-lg"> | |
<i class="fa fa-circle fa-stack-2x"></i> | |
<i class="fa fa-github fa-stack-1x fa-inverse"></i> | |
</span> | |
</a> | |
</li> | |
</ul> | |
<p class="copyright text-muted">Copyright © Your Website 2014</p> | |
</div> | |
</div> | |
</div> | |
</footer> | |
<?php wp_footer(); ?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment