ID; } $categories = get_the_category($post_id); $separator = ' '; $output = ''; if($categories) { $output .= ''; foreach($categories as $category) { $output .= ''.esc_html( $category->cat_name ).''.$separator; } $output .=''; echo trim( $output, $separator ); } } endif; /** * Callback functions for comments * * @since supermag 1.0.0 * * @param $comment * @param $args * @param $depth * @return void * */ if ( !function_exists('supermag_commment_list') ) : function supermag_commment_list($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); if ('div' == $args['style']) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?> < id="comment-">
%s', 'supermag' ), get_comment_author_link()); ?>
comment_approved == '0') : ?>
$add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
> '; // delimiter between crumbs $home = $trans_home; // text for the 'Home' link $showHomeLink = 1; $showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show $before = ''; // tag before the current crumb $after = ''; // tag after the current crumb $homeLink = esc_url( home_url() ); if (is_home() || is_front_page()) { if ($showOnHome == 1) echo '
'; } else { if($showHomeLink == 1){ echo '
'.esc_attr( $trans_here ).'