ID, 'job_listing_category'); $price = get_post_meta($post->ID, '_price_field'); $location = get_post_meta($post->ID, '_job_location'); if (is_array($location)) { $location = $location[0] ? $location[0] : ''; } $price = $price[0] ? $price[0] : ''; $rating = ''; if (in_array('comments-ratings/comments-ratings.php', apply_filters('active_plugins', get_option('active_plugins')))) { global $pixreviews_plugin; $rating = $pixreviews_plugin->get_average_rating( $post->ID ); } $number =''; $page_id = get_option('job_manager_jobs_page_id'); $row_num = $GLOBALS['robolist_lite_row_count']; if($GLOBALS['robolist_lite_row_count']==0) echo '
'; $count = $row_num+1; if($count > 1 && $count <4){ $number = $count; $GLOBALS['robolist_lite_row_count'] = $GLOBALS['robolist_lite_row_count'] + 1; } else{ $number =1; $GLOBALS['robolist_lite_row_count'] = 1; } ?>
  • data-longitude="geolocation_lat ); ?>" data-latitude="geolocation_long ); ?>">

    ' . get_the_title() . ''; ?>

    '; if($rating) { echo '
    '; for ($i = 1; $i <= 5; $i++) { if ($i <= $rating) echo ''; else echo ''; } echo '
    '; }else{ echo '
    '; echo ''; echo ''; echo ''; echo ''; echo ''; echo '
    '; } printf( /* translators: %s: get reviews */ _n( '(%s Review)', '(%s Reviews)', get_comments_number($post->ID), 'robolist-lite' ), number_format_i18n( get_comments_number($post->ID) )); echo '
    '; ?>
  • '; }