Permalink
Browse files

fix #5

Checked it object and returned slug on taxonomy pages.
  • Loading branch information...
steveclarkcouk committed Dec 12, 2011
1 parent 74bbdd5 commit 13b5eaafc90bd2c322892efe75de26836906cf0e
Showing with 1 addition and 0 deletions.
  1. +1 −0 jigoshop-taxonmy-meta.php
@@ -18,6 +18,7 @@
function jigoshop_additonal_taxonomy()
{
global $term, $jct_admin;
+ if(is_object($term)) $term = $term->slug;
$term_additonal_content = get_option($jct_admin->data['prefix'] . 'tax_' . $term);
if($term_additonal_content) echo '<div class="more-tax-desc">' . html_entity_decode(wp_richedit_pre( stripslashes ($term_additonal_content) )) . '</div>';
}

0 comments on commit 13b5eaa

Please sign in to comment.