/**
     * widget function.
     *
     * @see WP_Widget
     * @access public
     * @param array $args
     * @param array $instance
     * @return void
     */
    function widget($args, $instance)
    {
        if ($this->get_cached_widget($args)) {
            return;
        }
        ob_start();
        extract($args);
        global $post;
        $title = apply_filters('widget_title', isset($instance['title']) ? $instance['title'] : '', $instance, $this->id_base);
        $items = get_post_meta($post->ID, '_links', true);
        if (!get_the_resume_category()) {
            return;
        }
        $categories = get_the_terms($post->ID, 'resume_category');
        echo $before_widget;
        ?>

		<?php 
        if ($title) {
            echo $before_title . $title . $after_title;
        }
        ?>

		<ul class="resume-categories">
			<?php 
        foreach ($categories as $category) {
            ?>
				<li class="resume-category">
					<a href="<?php 
            echo get_term_link($category, 'resume_category');
            ?>
"><i class="icon-book-open"></i> <?php 
            echo $category->name;
            ?>
</a>
				</li>
			<?php 
        }
        ?>
		</ul>

		<?php 
        echo $after_widget;
        $content = apply_filters('jobify_widget_resume_categories', ob_get_clean(), $instance, $args);
        echo $content;
        $this->cache_widget($args, $content);
    }
<?php

$category = get_the_resume_category();
?>

<li id="resume-<?php 
the_ID();
?>
" <?php 
resume_class();
?>
 <?php 
echo apply_filters('jobify_listing_data', '');
?>
>
	<div class="row">
		<a href="<?php 
the_resume_permalink();
?>
">

			<div class="logo col-sm-2 col-md-1 col-lg-1">
				<?php 
the_candidate_photo('large');
?>
			</div>

			<div class="position col-xs-12 col-sm-10 col-md-6 col-lg-5">
				<h3><?php 
the_title();
?>
/**
 * Output the category
 * @param WP_Post|int $post (default: null)
 */
function the_resume_category($post = null)
{
    echo get_the_resume_category($post);
}
				<?php 
        }
        ?>
			</dl>
		<?php 
    }
    ?>

		<ul class="meta">
			<?php 
    do_action('single_resume_meta_start');
    ?>

			<?php 
    if (get_the_resume_category()) {
        ?>
				<li class="resume-category"><?php 
        the_resume_category();
        ?>
</li>
			<?php 
    }
    ?>

			<li class="date-posted" itemprop="datePosted"><date><?php 
    printf(__('Updated %s ago', 'wp-job-manager-resumes'), human_time_diff(get_the_modified_time('U'), current_time('timestamp')));
    ?>
</date></li>

			<?php