Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated Charcoal to use taxonomy properties instead of old tag proper…

…ties.
  • Loading branch information...
commit 46c76b2d175015c2d522c7320384bc843909a2bf 1 parent 9767479
Owen Winkler ringmaster authored
2  themes/charcoal/entry.single.php
@@ -14,7 +14,7 @@
14 14 </div>
15 15 <?php endif; ?>
16 16 <div class="<?php echo $post_class?>">
17   - <?php if ( is_array($post->tags) ) : ?>
  17 + <?php if ( count($post->tags) ) : ?>
18 18 <div class="post-tags">
19 19 <?php echo $post->tags_out;?>
20 20 </div>
2  themes/charcoal/theme.php
@@ -138,7 +138,7 @@ public function add_template_vars()
138 138 */
139 139 public function filter_post_tags_out( $array )
140 140 {
141   - $fn = create_function( '$a', 'return "<a href=\\"" . URL::get("display_entries_by_tag", array( "tag" => $a->tag_slug) ) . "\\" rel=\\"tag\\">" . $a->tag . "</a>";' );
  141 + $fn = create_function( '$a', 'return "<a href=\\"" . URL::get("display_entries_by_tag", array( "tag" => $a->term) ) . "\\" rel=\\"tag\\">" . $a->term_display . "</a>";' );
142 142 $array = array_map( $fn, (array)$array );
143 143 $out = implode( ' ', $array );
144 144 return $out;

0 comments on commit 46c76b2

Please sign in to comment.
Something went wrong with that request. Please try again.