$classes .= ' ' . $cat->slug; } } ?> <div class="grid-item<?php echo $product->is_on_sale() ? ' sale' : ''; echo $classes; ?> "> <?php $thumbnal_id = get_post_thumbnail_id($product->id); $img = wp_get_attachment_image_src($thumbnal_id, 'shop_catalog', true); echo '<a class="product-image" href="' . get_permalink($product->id) . '">'; woocommerce_show_product_loop_sale_flash(); if (has_post_thumbnail($product->id)) { echo '<img src="' . placeImg($img[1], $img[2]) . '" alt="' . get_alt($thumbnal_id) . '" data-defer="' . $img[0] . '" class="aligncenter" width="' . $img[1] . '" height="' . $img[2] . '" />'; } else { echo wc_placeholder_img('shop_catalog'); } echo '</a>'; ?> <div class="product-data"> <a class="product-title" href="<?php the_permalink(); ?> "> <h3><?php echo get_the_title($product->id); ?> </h3> <div class="product-price"><?php
<?php get_header(); ?> <section class="content row"> <article> <img src="<?php echo placeImg(818, 419); ?> " data-defer="//wpa.dev0.site/wp-content/uploads/HOTBalloonTrip_UltraHD.jpg" alt=""> <?php if (have_posts()) { while (have_posts()) { the_post(); the_content(); } } ?> </article> </section> <div id="testarea" class="content row"> <select name="" id=""> <?php for ($i = 0; $i < 10; $i++) { echo '<option>Option ' . $i . '</option>'; } ?> </select> <div class="flexGrid"> <div>text-1</div>