ID,'nickname'); $authorDetails=get_userdata($author->ID); $authorTitle=get_the_author_meta( 'author_page_title', $author->ID ); $authorSubs=get_the_author_meta( 'author_page_subtitle', $author->ID ); $avatarCustom=get_the_author_meta('authorbanner', $author->ID ); $avatarFES=get_the_author_meta('user_avatar', $author->ID ); if(isset($avatarCustom) && (strlen($avatarCustom)>0) ){ $avatarUrl=$avatarCustom; } else if(isset($avatarFES) && (strlen($avatarFES)>0) ){ $avatarUrl=$avatarFES; } else if(olam_validate_gravatar($author->user_email)){ $avatarUrl=get_avatar_url($author->ID); } ?>
0) { ?>

0) { ?>
ID )) >0) { ?>ID ); ?>
'; } ?>
slug))?$term->slug:null; $searchTerm= (strlen(get_search_query() ) >0 )?get_search_query():null; $args=array("post_type"=>"download","status"=>"publish","author"=> $author->ID,'posts_per_page'=>-1); $temp = $wp_query; $wp_query = null; $wp_query = new WP_Query(); $wp_query->query($args); ?> have_posts() ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); $eddColumn=get_theme_mod('olam_edd_columns'); switch ($eddColumn) { case '2 columns': $colsize=6; $division=2; $colclass="col-sm-6"; break; case '3 columns': $colsize=4; $division=3; $colclass=null; break; case '4 columns': $colsize=3; $division=4; $colclass="col-sm-6"; break; default: $colclass=null; break; } if(($wp_query->current_post)%($division)==0){ echo "
"; } ?>
0) ){ //$videoUrl=wp_get_attachment_url($videoCode[0]); // if(is_numeric($videoCode[0])){ // $videoUrl=wp_get_attachment_url($videoCode[0]); // } // else{ $videoUrl=$videoCode[0];//wp_get_attachment_url($videoCode[0]); // } if (strpos($videoUrl, 'vimeo') !== false) { echo '
'.do_shortcode("[video src='".esc_url($videoUrl)."']").'
'; } else { echo '
'.do_shortcode("[video src='".esc_url($videoUrl)."']").'
'; } } else if(isset($audioCode[0]) && (strlen($audioCode[0])>0) ){ //$audioUrl=wp_get_attachment_url($audioCode[0]); ?>
" />'; } ?>
average_rating(false); $starRating=(round($starRating*2))*10; $totalRating = edd_reviews()->count_reviews(); ?>
" class="download-rating">
-

'add_to_cart','download_id'=>$post->ID,'edd_options[price_id]'=>$defaultPriceID); } else{ $downloadArray=array('edd_action'=>'add_to_cart','download_id'=>$post->ID); } ?> get_the_ID(), 'price' => false, 'direct' => false, 'style' => 'plain', 'class' => 'demo-icons icon-cart cart-icon-btn', 'text' => '', ); $purchase_link_args = apply_filters( 'edd_rp_purchase_link_args', $purchase_link_args ); echo edd_get_purchase_link( $purchase_link_args ); } else { ?>
0){ $mlink = get_term_link($cat[0]->slug,'download_category'); ?>
current_post+1)%$division==0){ echo "
"; } else if(($wp_query->current_post+1)==$wp_query->post_count ){ echo "
"; } endwhile; ?>