template/wordpress/single.php in edge_framework-0.6.0 vs template/wordpress/single.php in edge_framework-0.6.1

- old
+ new

@@ -1,7 +1,23 @@ <?php -/** - * The template for displaying post the content of a single post - */ +/* ---------------------- + Single Post Template +---------------------- */ get_header(); ?> + +<p><small>single.php</small></p> + +<?php while (have_posts() ) : the_post(); ?> + <h1><?php echo get_the_title(); ?></h1> + <h4><?php echo date("D, d M Y" , strtotime(get_the_date() ) ); ?></h4> + <?php echo get_the_content(); ?> + + <?php + $categories = get_the_category(); + $category = $categories[0]; + ?> + <a href="<?php echo get_category_link($category->cat_ID); ?> "> + &larr; Back + </a> +<?php endwhile; ?> <?php get_footer(); ?> \ No newline at end of file