Cleanco – Restoring Demo Files

Here are the steps on restoring demo files :

  1. Install Theme from : Appearance > Themes > Add New > Upload Theme.
  2. Begin Install Plugins : Appearance > Install Plugins
  3. Activate All Plugins
  4. Install Woocommerce : Plugins > Add News. Search for WooCommerce, then install
  5. Continue with installing WooCommerce Pages
  6. Tools > Import > WordPress ( demo_content.xml )
  7. Tools > Import > WordPress ( contact_form7.xml )
  8. Tools > Import > Options ( wp_options.json )
  9. Open theme_options.json using text editor, copy whole codes. And paste to Theme Options > Import / Export > Import From File.
  10. Appearance > Menu > Main Menu. Logo Here menu item, tick ‘Logo here’ checkbox. Continue scrolling to bottom Theme Locations : Top Navigation
  11. Revolution Slider > Import Slider ( cleanco_service.zip ; main_banner.zip ; shop_banner.zip )
  12. Punch Fonts : Add new : Handle = tp-raleway-600 ; Parameter = raleway:600 | Add New : Handle = tp-open-sans ; Parameter = open+Sans
  13. Navigate to : your-domain/wp-admin/admin.php?page=revslider.
    Edit Cleanco Service Slider by clicking Settings green button, scroll down to ‘Custom Javascript’ section : Paste this javascript code
(function() {
    var win, cusint, slider, sliderHeight, sliderPaused, winHeight, firstRun = true;
    slider = revapi2.on('revolution.slide.onloaded', function() {
        win = jQuery(window).on('scroll', checkScroll).on('resize', sizer);
        sizer();
    });

    function sizer() {
        sliderHeight = slider.height();
        winHeight = win.height();
        checkScroll();
        firstRun = false;
    }

    function checkScroll() {
        clearTimeout(firstRun);
        var scrTop = jQuery(window).scrollTop(),
            offset = slider.offset().top;

        if (offset <= scrTop + winHeight && offset + sliderHeight >= scrTop) {
            win.off('scroll', checkScroll).off('resize', sizer);
            if (firstRun) {
                setTimeout(function() {
                    slider.revshowslide(2);
                }, 850);
                sliderPaused = false;
            }

            if (sliderPaused) slider.revshowslide(2);
            sliderPaused = false;

        } else {
            if (!sliderPaused) slider.revshowslide(1);
            sliderPaused = true;
        }
    }
})();

Pay attention to underlined revapi2 above, replace ‘2’ with your slider ID, which can be seen from your browser url ?page=revslider&view=slider&id=2

Leave A Comment?

You must be logged in to post a comment.