Home Forums Theme Support Dokan Latest products

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  towhid 3 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #70033

    Post count: 87

    I want to change the Latest product slider and make it as a grid view.

    where is the code for the latest product slider?


    Post count: 4505

    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">
                                $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; ?>
                    </div> <!-- .slider-container -->

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


Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Latest products’ is closed to new replies.