ID, 'branding' );
if ( $post_terms ) {
$post_terms = array_values( $post_terms );
foreach ( $post_terms as $key => $term ) {
$desc = absint( $term->description );
if ( !$desc ) {
unset($post_terms[ $key ]);
}
}
if ( $post_terms ) {
usort($post_terms,'sort_category_rating_terms');
foreach ( $post_terms as $term ) {
echo 'category = ' . $term->name;
echo ' rating = ' . $term->description;
echo '
';
}
}
}
endwhile;
else : ?>