Skip to content

Commit

Permalink
Updates custom-posts for 1.6
Browse files Browse the repository at this point in the history
Reset to clean copy of circa75/dropplets/master, for ease of pulling.
  • Loading branch information
benlk committed Aug 13, 2013
1 parent d8b09fb commit d9301c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)));

Expand Down
2 changes: 1 addition & 1 deletion templates/simple/post.php
Original file line number Diff line number Diff line change
@@ -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">
Expand Down

0 comments on commit d9301c7

Please sign in to comment.