Permalink
Browse files

Soporte para shortcodes en la descripción de los términos de taxonomí…

…as t_em_term_description()
  • Loading branch information...
rogertm committed Oct 10, 2017
1 parent c78571f commit d956d24008897773ee543cf183dc00e549bb6738
Showing with 2 additions and 1 deletion.
  1. +1 −0 changelog.txt
  2. +1 −1 templates/meta.php
View
@@ -4,6 +4,7 @@
Release Date: October 09, 2017
* Enhancement: Better Debug Info Panel
* Enhancement: Support for custom post types in single related posts. Added the "t_em_filter_single_related_post_query" filter
* Enhancement: Added shortcode support in term description t_em_term_description()
= Bootstrap 4 =
Release Date: September 09, 2017
View
@@ -237,7 +237,7 @@ function t_em_term_description(){
$term_id = get_term_by( 'id', $query_obj->term_id, $query_obj->taxonomy );
endif;
if ( ! empty( $term_description ) ) :
echo '<div id="term-description-'. $term_id->term_id .'" class="archive-meta term-description">' . $term_description . '</div>';
echo '<div id="term-description-'. $term_id->term_id .'" class="archive-meta term-description">' . do_shortcode( $term_description ) . '</div>';
endif;
}
endif; // function t_em_term_description()

0 comments on commit d956d24

Please sign in to comment.