How to alter this code?

Here’s the original code:

<?php if(is_home() && get_option('reedwan_featured_slider') == 'On' && get_option('reedwan_slider_style') == 'smallStyle' && get_option('reedwan_featured_tags')): ?>
<?php
$post_types = get_post_types();
unset($post_types['page'], $post_types['portfolio'], $post_types['gallery'], $post_types['reviews'],$post_types['attachment'], $post_types['revision'], $post_types['nav_menu_item']);

$featured_posts = new WP_Query(array('post_type' => $post_types,'showposts' => get_option('reedwan_slider_num_item'),'tag' => get_option('reedwan_featured_tags')
));
?>
<!-- Begin Flex Slider Featured -->
<div class="flexslider small">
<ul class="slides">
<?php while($featured_posts->have_posts()): $featured_posts->the_post(); ?>
<li>
<?php if(has_post_thumbnail()): ?>
<?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'small-nivo-thumb'); ?>
<img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" title="#htmlcaption_<?php the_ID(); ?>" width='620' height='340' />
<?php else: ?>
<img src="<?php echo get_template_directory_uri(); ?>/timthumb.php?src=<?php echo get_template_directory_uri(); ?>/images/thumbnail.png&w=620&h=340" alt="<?php the_title(); ?>" title="#htmlcaption_<?php the_ID(); ?>" width='620' height='340' />
<?php endif; ?>
<div class="flex-caption"><h1><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h1><p><?php echo string_limit_words(get_the_excerpt(), 25); ?></p></div>

</li>
<?php endwhile; ?>

</ul>
</div>
<!-- End Flex Slider Featured -->
<?php endif; ?>
<div class="clear"></div>

Specifically this is the code I’m looking at changing:

<?php if(is_home() && get_option('reedwan_featured_slider') == 'On' && get_option('reedwan_slider_style') == 'smallStyle' && get_option('reedwan_featured_tags')): ?>'

I would like to add some sort of elseif, so that if(is_page (248)) then a different slider would appear (‘reedwan_featured_slider_sp’:wink:.

Thanks please advise if anyone can help make this work. :slight_smile:

Drew