ID )){ $post_id = $post->ID; } } if( 0 == $post_id ){ return null; } $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 AcmeBlog 1.0.0 * * @param $comment * @param $args * @param $depth * @return void * */ if ( !function_exists('acmeblog_commment_list') ) : function acmeblog_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', 'acmeblog' ), get_comment_author_link()); ?>
comment_approved == '0') : ?>
$add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
'div', 'show_browse' => false ); $acmeblog_customizer_all_values = acmeblog_get_theme_options(); $acmeblog_you_are_here_text = $acmeblog_customizer_all_values['acmeblog-you-are-here-text']; if( !empty( $acmeblog_you_are_here_text ) ){ $acmeblog_you_are_here_text = "".$acmeblog_you_are_here_text.""; } echo ""; } endif;