Latest products

This topic contains 1 reply and 2 voices, and was last updated by towhid 8 years, 7 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
September 1, 2015 at 6:01 pm 70033
towhid I want to change the Latest product slider and make it as a grid view. where is the code for the latest product slider?
September 2, 2015 at 6:08 pm 70179
towhid towhid

Hello Loukia,

Please navigate to ‘themes/wedevs-dokan/front-page.php` and find this line:

<div class="slider-container woocommerce">
                    <h2 class="slider-heading"><?php _e( 'Latest Products', 'dokan' ); ?></h2>

                    <div class="product-sliders">
                        <ul class="slides">
                            <?php
                            $latest_query = dokan_get_latest_products();
                            ?>
                            <?php while ( $latest_query->have_posts() ) : $latest_query->the_post(); ?>

                                <?php wc_get_template_part( 'content', 'product' ); ?>

                            <?php endwhile; ?>
                        </ul>
                    </div>
                </div> <!-- .slider-container -->

These line contains slider code. You can now customize now and meet your requirements.

Thanks

Viewing 1 Posts - 1 through 1 (of 1 total)