<div id="slider-wrapper" class="container">
		<ul class="bxslider">
			<?php 
			for($i = 1; $i <= 3; $i++) { 
				$u = 'kreatif-url-'	. $i;
				$s = 'kreatif-slide_' . $i;
				$v = 'kreatif-title-' . $i;
				$d = 'kreatif-desc-' . $i;
				
				if (get_theme_mod($s) != '') {
			?>	
					<li>
					<?php if ( get_theme_mod( $u ) != '' ) { ?>
				<a href="<?php echo get_theme_mod( $u , ''); ?>">
			<?php } ?>
							<div class="slide"><div class="overlay"></div><img src = <?php echo esc_url( get_theme_mod($s) ); ?>>
								<div class="slide_caption">
									<?php if ( get_theme_mod( $v ) ) { ?>
									<h1 class="slide-title"><?php printf(get_theme_mod($v)); ?></h1><br>
									<?php } ?>
									<?php if ( get_theme_mod( $d ) ) { ?>
									<h2 class="slide-description"><?php printf(get_theme_mod($d)); ?></h2>
									<?php } ?>
								</div>
							</div>
							<?php if ( get_theme_mod( $u ) != '' ) { ?>
								</a>
							<?php } ?>
					</li>
		<?php	} 
			} ?>
		</ul>
	</div>