Created
February 14, 2013 11:10
-
-
Save codesynapse/4952122 to your computer and use it in GitHub Desktop.
Squid Theme - index.php
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
<html> | |
<head> | |
<title>Squid</title> | |
<meta charset="<?php bloginfo( 'charset' ); ?>" /> | |
<title><?php wp_title(); ?></title> | |
<link rel="profile" href="http://gmpg.org/xfn/11" /> | |
<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" /> | |
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> | |
<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?> | |
<?php wp_head(); ?> | |
</head> | |
<body> | |
<div id="wrap"> | |
<div id="header"> | |
<div id="nav"> | |
<ul> | |
<li> <?php wp_nav_menu(); ?></li> | |
</ul> | |
</div> | |
</div> | |
<div id="main"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<h2><a href="<?php echo get_permalink(); ?>"> <?php the_title(); ?> </a> </h2> | |
<h4>Posted on <?php the_time('F jS, Y') ?></h4> | |
<p><?php the_content(__('(more...)')); ?></p> | |
<hr> | |
<?php endwhile; else: ?> | |
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p> | |
<?php endif; ?> | |
</div> | |
<div id="sidebar"> | |
<h2><?php _e('Categories'); ?></h2> | |
<ul> | |
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> | |
</ul> | |
<h2><?php _e('Archives'); ?></h2> | |
<ul class="list-archives"> | |
<?php wp_get_archives('type=monthly'); ?> | |
</ul> | |
</div> | |
<div id="footer"> | |
<h1>Footer</h1> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment