current_post)%($division)==0){ echo "
"; } ?>
0) ){ // if(is_numeric($videoCode[0])){ // $videoUrl=wp_get_attachment_url($videoCode[0]); // } // else{ $videoUrl=$videoCode[0]; // } //$videoUrl=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]); ?>
0) { ?> <?php echo the_title(); ?> <?php echo the_title(); ?>
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 ""; }