How to add Views Counter to my Job posts in Superio Wordpress Theme. This is job portal wordpress theme, purchased in themeforest. When i post jobs, the theme shows many options like: salary, date, location, description etc, but it does not show how many people have visited that job. IF there is possibility to add directly in custom fields or install any plugin that can count visits in every job i post.
I have tried to see if its included as options in theme, but i could not find.
you can use a plugin like Post Views Counter.
$post_views = get_post_meta( get_the_ID(), 'views', true );
if ( empty( $post_views ) ) {
$post_views = 0;
}
echo $post_views . ' views';