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

    Hello,

    Could you guys help me in how to delete the slideshow?

    I want to install a new one , but i dont know how to erase the current slideshow

    Thanks

    #54216

    Hey,

    I believe I’ve answered this question in an other topic of yours.

    In your index.php file you can remove

    <?php
    // FRONTPAGE SLIDESHOW
    //
    // check if slideshow should be displayed?
    if($k_option['mainpage']['slider'] != 'none') :
    ?>
    <!-- FEATURED POST AREA ################################################### -->
    <div id="feature_wrap">
    <!-- ###################################################################### -->
    <div id="featured" class='<?php echo $k_option['mainpage']['slider']; ?>'>

    <?php

    //check slider and apply size to previe images
    $kimg = array('shortcut' => 'L', 'overwrite' => 'none');

    if($k_option['mainpage']['slider'] == 'fadeslider')
    {
    $kimg = array('shortcut' => 'XL', 'overwrite' => 'none');
    }

    // start the loop that gernerates the images
    $loopcount = 1;
    $additional_loop = new WP_Query("cat=".$k_option['mainpage']['feature_cats_final']."&posts_per_page=".$k_option['mainpage']['feature_count']);
    if ($additional_loop->have_posts()) :
    while ($additional_loop->have_posts()) : $additional_loop->the_post();

    $preview_image = kriesi_post_thumb($post->ID, array('size'=> array($kimg['shortcut'],$kimg['overwrite']),
    'display_link' => array('none'),
    'wh' => $k_option['custom']['imgSize'][$kimg['shortcut']]
    ));

    // Featured Entry:
    ?>
    <div class="featured featured<?php echo $loopcount; ?>">
    <a href="<?php the_permalink(); ?>">
    <span class='feature_excerpt'>
    <strong class='sliderheading'><?php the_title(); ?></strong>
    <span class='sliderdate'><?php the_time('M d, Y') ?></span>
    <span class='slidercontent'>
    <?php
    $content = strip_tags(get_the_excerpt(),'<a><strong><span>');
    echo $content;
    ?>
    </span>
    </span>
    <?php echo $preview_image; ?>
    </a>
    </div>
    <?php
    // end entry

    $loopcount ++;
    endwhile; endif;
    ?>

    </div><!-- end #featured -->

    <span class='bottom_right_rounded_corner ie6fix'></span>
    <span class='bottom_left_rounded_corner ie6fix'></span>

    <!-- ###################################################################### -->
    </div><!-- end featuredwrap -->
    <!-- ###################################################################### -->
    <?php endif; // end slideshow ?>

    However, replacing this code with your Slidedeck code you provided in the other topic won’t work as you expect (it won’t work at all).

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

The topic ‘How to delete the theme's slideshow’ is closed to new replies.