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; /** * Function to modify tag clouds font size * * @since 1.0.0 * * @param none * @return array $args * */ if (!function_exists('ocius_tag_cloud_widget')) : function ocius_tag_cloud_widget($args) { $args['largest'] = 12; //largest tag $args['smallest'] = 12; //smallest tag $args['unit'] = 'px'; //tag font unit return $args; } endif; add_filter('widget_tag_cloud_args', 'ocius_tag_cloud_widget'); /** * Callback functions for comments * * @since 1.0.0 * * @param $comment * @param $args * @param $depth * @return void * */ if (!function_exists('ocius_commment_list')) : function ocius_commment_list($comment, $args, $depth) { $args['avatar_size'] = apply_filters('ocius_comment_avatar_size', 50); if ('pingback' == $comment->comment_type || 'trackback' == $comment->comment_type) : ?>
  • >
    ', ''); ?>
  • >
    >
    > %s', get_comment_author_link()); ?>
    comment_approved) : ?>