Slide Show images in Homepage like aliexpress.com

ferreira2u

Active Member
I installed a new plugin to manage the slide show (images, link, etc) and changed the code of an alidropship php file
 

cristiane

Member
Hello, finally I will wait to work with the woocommerce because it's simpler for the theme, there is really choice.
For now I have not yet launched my site ... I prefer to wait. Yaros said the new theme is coming out this year. I'm inpatient
 

ferreira2u

Active Member
Hello,

I too want sliders like that. What plugin you installed for that?


I use 2J SlideShow (version free, download on wordpress.org), but have others plugins to make the same result.


In the begin of the file home.php you have:

PHP:
            <div class="b-topImg__item">
                <a href="<?php echo cz('tp_img_product_cat_url'); ?>"
                   title=""> <img src="<?php echo cz('tp_img_product'); ?>?100"
                                  class="img-responsive" alt="">
                    <div class="topImg__content--big">
                        <div class="topImg__content__text"><?php echo cz('tp_img_product_text'); ?></div>
                        <div class="topImg__content__btn"><?php echo cz('shop_now_text'); ?></div>
                        <div <?php if ( !cz('id_video_youtube_home') ) echo 'style="display: none;"'; ?>
                            class="btn b-topImg__btn--play_video" data-toggle="modal" data-target="#prHome_video" onclick="return false;">
                            <i class="ico_play"></i><?php _e( 'View Video', 'ami3' ) ?></div>
                    </div>
                </a>
            </div>

Change to:
PHP:
            <div class="b-topImg__item">
          <?php echo do_shortcode("[2jslideshow id=641]");?>

            </div>

When you create your slidshow the plugin give you the Shortcode.
My Shortcode is
HTML:
[twoj-slideshow id="641"]
My id number is 641, change your php code to have your id.
 

neeraj89

Active Member
hi @Yaros . is home.php page gone? i updated theme and then i was going to add the slider function as mentioned above.. But was not able to find home.php page this time.
 
Top