mirror of
https://github.com/kennethreitz-archive/wp-krtheme.git
synced 2026-06-05 23:40:16 +00:00
Added new theme w/ some changes to css.
This commit is contained in:
+57
-29
@@ -1,30 +1,58 @@
|
||||
<?php /* Template Name: Single */
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Single
|
||||
**/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<?php if (have_posts()): while (have_posts()): the_post(); ?>
|
||||
<div class="contentBody blogEntry">
|
||||
<nav class="blogSerial asideBlock">
|
||||
<?php ia3_prevnext(); ?>
|
||||
</nav>
|
||||
<article>
|
||||
<hgroup>
|
||||
<h1 class="contentTitle"><?php the_title(); ?></h1>
|
||||
<h2 class="postDate date"><?php echo date('l, F jS, Y', strtotime($post->post_date)); ?><?php edit_post_link('» Edit This Post', ' '); ?></h2>
|
||||
</hgroup>
|
||||
<div class="asideBlock">
|
||||
|
||||
</div>
|
||||
<div class="content entry">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<?php if(comments_open()): ?>
|
||||
<section id="comments">
|
||||
<?php comments_template(); ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php endwhile; endif; get_footer(); ?>
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<!--[if IE 6 ]><html class="ie ielt9 ielt8 ielt7 ie6" lang="<?php bloginfo('language'); ?>"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ielt9 ielt8 ie7" lang="<?php bloginfo('language'); ?>"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ielt9 ie8" lang="<?php bloginfo('language'); ?>"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="<?php bloginfo('language'); ?>"><![endif]-->
|
||||
<!--[if (gt IE 9)|!(IE)]><!--><html lang="<?php bloginfo('language'); ?>"><!--<![endif]-->
|
||||
<head>
|
||||
<?php @include('inc_head.php'); ?>
|
||||
</head>
|
||||
<body class="single">
|
||||
<div id="screen">
|
||||
<?php @include('inc_body_header.php'); ?>
|
||||
|
||||
<section class="G4 GR GS" id="content">
|
||||
<?php while (have_posts()): the_post(); ?>
|
||||
<article>
|
||||
<header>
|
||||
<h1><?php the_title(); ?></h1>
|
||||
<h2><time datetime="<?php the_time('c') ?>" pubdate="pubdate"><?php the_date() ?></time></h2>
|
||||
<nav>
|
||||
<ul>
|
||||
<?php if(get_previous_post()): ?>
|
||||
<li><?php previous_post_link('%link', __('« Previous', 'ia3')); ?></li>
|
||||
<?php else: ?>
|
||||
<li><?php _e('« Previous;', 'ia3'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php edit_post_link(__('Edit', 'ia3'), '<li>', '</li>'); ?>
|
||||
|
||||
<?php if(get_next_post()): ?>
|
||||
<li><?php next_post_link('%link', __('Next »', 'ia3')); ?></li>
|
||||
<?php else: ?>
|
||||
<li><?php _e('Next »', 'ia3'); ?></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="formatted">
|
||||
<?php the_content(); ?>
|
||||
</div><!-- .formatted -->
|
||||
</article>
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
</section><!-- #content.G4.GR.GS -->
|
||||
<hr class="implied" />
|
||||
|
||||
<?php @include('inc_body_footer.php'); ?>
|
||||
</div><!-- #screen -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user