/gist:b1f47c15d3eb2c573924 Secret
Created
March 11, 2014 10:05
Star
You must be signed in to star a gist
Super-Simple, No-Frills All Thrills WordPress Theme
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> | |
<head> | |
<meta charset="<?php bloginfo( 'charset' ); ?>"> | |
<title><?php wp_title( '|', true, 'right' ); ?></title> | |
<link rel="stylesheet" href="<?php echo esc_url( get_stylesheet_uri() ); ?>" type="text/css" /> | |
<?php wp_head(); ?> | |
</head> | |
<body> | |
<h1><?php bloginfo( 'name' ); ?></h1> | |
<h2><?php bloginfo( 'description' ); ?></h2> | |
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<h3><?php the_title(); ?></h3> | |
<?php the_content(); ?> | |
<?php wp_link_pages(); ?> | |
<?php edit_post_link(); ?> | |
<?php endwhile; ?> | |
<?php | |
if ( get_next_posts_link() ) { | |
next_posts_link(); | |
} | |
?> | |
<?php | |
if ( get_previous_posts_link() ) { | |
previous_posts_link(); | |
} | |
?> | |
<?php else: ?> | |
<p>No posts found. :(</p> | |
<?php endif; ?> | |
<?php wp_footer(); ?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment