예제 #1
0
<?php

/* Static Name: Slider */
?>

<?php 
if (of_get_option('slider_type') != 'none_slider') {
    ?>

	<div id="slider-wrapper" class="slider">
		<div class="container">
			<?php 
    get_slider_template_part();
    ?>

		</div>
	</div><!-- .slider -->
<?php 
} else {
    ?>

	<div class="slider_off"><!--slider off--></div>
<?php 
}
<?php /* Static Name: Slider */ ?>
<?php if(of_get_option('slider_type') != 'none_slider'){ ?>
	<div id="slider-wrapper" class="slider">
	    <div class="container">
	    	<?php get_slider_template_part(); ?>
	    </div>
	</div><!-- .slider -->
<?php }else{ ?>
	<div class="slider_off"><!--slider off--></div>
<?php } ?>