<a href="#porfolio-tabs" role="tab" data-toggle="tab"> <?php printf(__('(%s) Porfolios', 'bid-history-mobile'), fre_count_user_posts($author_id, PORTFOLIO)); ?> </a> </li> </ul> </div> <!-- / .btn-tabs-wrapper --> <div class="tab-content"> <div class="tab-pane fade in active" id="history-tabs"> <div class="btn-tabs-wrapper"> <div class="work-history-heading"> <a href="#" class="work-history-title" > <?php printf(__('Works History (%s)', 'bid-history-mobile'), fre_count_user_posts($author_id, PROJECT)); ?> </a> <div class="project-status-filter" > <select class="status-filter " name="post_status" data-chosen-width="100%" data-chosen-disable-search="1" data-placeholder="<?php _e("Select a status", 'bid-history-mobile'); ?> "> <?php foreach ($status as $key => $stat) { echo '<option value="' . $key . '">' . $stat . '</option>'; } ?> </select> </div>
$author_id = $user_ID; } // filter order post by status add_filter('posts_orderby', 'fre_order_by_project_status'); query_posts(array('is_profile' => true, 'post_status' => array('publish', 'close', 'complete'), 'post_type' => PROJECT, 'author' => $author_id)); // remove filter order post by status $bid_posts = $wp_query->found_posts; ?> <div class="btn-tabs-wrapper"> <div class="work-history-heading"> <a href="#" class="work-history-title" > <?php if (fre_share_role()) { printf(__('Posted Projects (%s)', ET_DOMAIN), fre_count_user_posts($author_id, PROJECT)); } else { printf(__('Works History (%s)', ET_DOMAIN), fre_count_user_posts($author_id, PROJECT)); } ?> </a> <div class="project-status-filter" > <select class="status-filter " name="post_status" data-chosen-width="100%" data-chosen-disable-search="1" data-placeholder="<?php _e("Select a status", ET_DOMAIN); ?> "> <option value=""><?php _e("Select a status", ET_DOMAIN); ?> </option> <?php foreach ($status as $key => $stat) {
?> </span> </a> </li> <?php } } ?> </ul> <?php } ?> </div> <?php if (fre_share_role() || $user_role == FREELANCER) { $bid_posts = fre_count_user_posts($author_id, BID); ?> <!-- freelancer info --> <div class="info-bid-wrapper"> <ul class="bid-top"> <li> <span class="number"> <?php $convert->hourly_rate_price; ?> </span> <?php _e('Hourly Rate', ET_DOMAIN); ?> </li>