Sid Gifari From Gifari Industries - BD Cyber Security Team
Home
/
home
/
drleilu
/
www
/
wp-content
/
themes
/
luxia
/
inc
/
sections
/
product
/
✏️
Editing: style1.php
<!-- product-area --> <section id="supplement" class="product-area pt-100 pb-70 fix" > <div class="container"> <div class="row"> <div c lass="col-lg-12"> <div class="section-title center-align mb-50 text-center"> <h2> <?php echo html_entity_decode( $text_heading ); ?> </h2> <span class="line5"> <img src="<?php echo esc_url( $symbol_img ['url'] ) ?>" alt="<?php echo esc_url( $symbol_img ['url'] ) ?>"> </span> </div> </div> </div> <div class="row product-active"> <?php $advanced= new wp_Query(array( 'posts_per_page' => $posts_per_page, 'post_status' => 'publish', 'post_type'=>'product', )); while( $advanced->have_posts() ) : $advanced->the_post(); $terms_area = get_the_terms(get_the_id(),'product_cat'); $product = new WC_Product ( get_the_ID()); $terms = array(); foreach($terms_area as $term) : $terms[] = $term->slug; ?> <?php endforeach; ?> <div class="col-lg-4 col-md-6"> <div class="product mb-40"> <div class="product__img"> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('large'); ?></a> <div class="product-action text-center"> <?php woocommerce_template_loop_add_to_cart(); ?> </div> </div> <div class="product__content text-center pt-30"> <h4 class="pro-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4> <div class="price"> <?php echo html_entity_decode($product->get_price_html()); ?> </div> </div> </div> </div> <?php endwhile; ?> </div> </div> </section> <!-- product-area-end -->
💾 Save
❌ Cancel