Permalink
Browse files

Merge pull request #213 from benlk/custom-posts

Adds $post_status in individual posts
  • Loading branch information...
Circa75 committed Aug 16, 2013
2 parents b2b5b6c + d9301c7 commit 8bd16ba163e452c99f49f0eefa9be5017bb927ed
Showing with 4 additions and 1 deletion.
  1. +3 −0 index.php
  2. +1 −1 templates/simple/post.php
View
@@ -330,6 +330,9 @@
// Get the post category.
$post_category = str_replace(array("\n", '-'), '', $fcontents[4]);
// Get the post status.
$post_status = str_replace(array("\n", '- '), '', $fcontents[5]);
// Get the post category link.
$post_category_link = $blog_url.'category/'.urlencode(trim(strtolower($post_category)));
@@ -1,4 +1,4 @@
<article class="single">
<article class="single <?php echo($post_status); ?>">
<div class="row">
<div class="one-quarter meta">
<div class="thumbnail">

0 comments on commit 8bd16ba

Please sign in to comment.