Remove Slinder SKT-White

Home Forums SKT Black/White Theme Support Remove Slinder SKT-White

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #65708
    Joko
    Member
    • Topics: 3
    • Replies: 0
    • Total: 3
    Member since: February 10, 2017

    Helo

    I try to remove slider code from header.php, but after remove white screen appeare, my question how to clear white screen when i remove slider code, below is code i remove

    <?php $slidershortcode = of_get_option(‘slidershortcode’); ?>
    <?php if( !empty($slidershortcode)){?>
    <div class=”slider-main”>
    <?php if( of_get_option(‘slidershortcode’) != ”){ echo do_shortcode(of_get_option(‘slidershortcode’, true));}; ?>
    </div>
    <?php } else { ?>

    <div class=”slider-main”>
    <?php

    $slAr = array();
    $m = 0;
    for ($i=1; $i<11; $i++) {
    if ( of_get_option(‘slide’.$i, true) != “” ) {
    $imgSrc = of_get_option(‘slide’.$i, true);
    $imgTitle = of_get_option(‘slidetitle’.$i, true);
    $imgDesc = of_get_option(‘slidedesc’.$i, true);
    $imglink = of_get_option(‘slidelink’.$i, true);
    $imgbut = of_get_option(‘slidebutton’.$i, true);
    if ( strlen($imgSrc) > 10 ) {
    $slAr[$m][‘image_src’] = of_get_option(‘slide’.$i, true);
    $slAr[$m][‘image_title’] = of_get_option(‘slidetitle’.$i, true);
    $slAr[$m][‘image_desc’] = of_get_option(‘slidedesc’.$i, true);
    $slAr[$m][‘image_url’] = of_get_option(‘slidelink’.$i, true);
    $slAr[$m][‘image_but’] = of_get_option(‘slidebutton’.$i, true);
    $m++;
    }
    }

    }
    $slideno = array();
    if( $slAr > 0 ){
    $n = 0;?>
    <div id=”slider” class=”nivoSlider”>
    <?php
    foreach( $slAr as $sv ){
    $n++; ?>” alt=”<?php echo esc_attr($sv[‘image_title’]);?>” title=”<?php if ( ($sv[‘image_title’]!=”) && ($sv[‘image_desc’]!=”)) { echo ‘#slidecaption’.$n ; } ?>”/><?php
    $slideno[] = $n;
    }
    ?>
    </div><?php
    foreach( $slideno as $sln ){ ?>
    <div id=”slidecaption<?php echo $sln; ?>” class=”nivo-html-caption”>
    <div class=”top-bar”>
    <?php if( of_get_option(‘slidetitle’.$sln, true) != ” ){ ?>
    <h2><?php echo of_get_option(‘slidetitle’.$sln, true); ?></h2>
    <?php } ?>
    <?php if( of_get_option(‘slidedesc’.$sln, true) != ” ){ ?>
    <p><?php echo of_get_option(‘slidedesc’.$sln, true); ?></p>
    <?php } ?>
    <?php if( of_get_option(‘slideurl’.$sln, true) != ”){ ?>
    “><?php _e(‘Read More »’,’skt-white’); ?>
    <?php } ?>
    <?php if( of_get_option(‘slidebutton’.$sln, true) != ”){ ?>
    <?php echo of_get_option(‘slidebutton’.$sln, true); ?>
    <?php } ?>
    </div>
    </div><?php
    } ?>

    </div>

    <div class=”clear”></div>

    <?php } ?>
    </div>
    /#services” class=”arrow-down”>
    </div><!– slider –>
    <?php } ?>

    <?php } ?>

    #65754
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23388
    • Total: 23388
    Member since: August 16, 2013

    Hi Joko,

    Kindly show us your website URL.

    Regards,
    Dave

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.