ID ); if ( is_array( $suggestion_data ) && !empty( $suggestion_data ) ) : $suggestions = array_keys( $suggestion_data ); $suggested_downloads = new WP_Query( array( 'post__in' => $suggestions, 'post_type' => 'download' ) ); if ( $suggested_downloads->have_posts() ) : ?>
have_posts() ) : ?> the_post(); ?> "; } ?>
', '' ); ?> 0) { ?>
<?php the_title(); ?>
0)){ $alt = get_post_meta($thumbID, '_wp_attachment_image_alt', true); ?>
<?php echo esc_attr($alt); ?>

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'); ?>
"; } $countRow++; ?> "; // Editted: for creating 3 item rows // This is to ensure there is no open div if the number of elements is not a multiple of 3 ?>