public
Created

Media Theme Slider

  • Download Gist
media-slider.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
<div class="coda-slider-wrapper">
<div id="coda-nav-1" class="coda-nav">
<ul>
<li class="tab1"><a href="#1"><?php echo ot_option('panel_1'); ?></a></li>
<li class="tab2"><a href="#2"><?php echo ot_option('panel_2'); ?></a></li>
<li class="tab3"><a href="#3"><?php echo ot_option('panel_3'); ?></a></li>
<li class="tab4"><a href="#4"><?php echo ot_option('panel_4'); ?></a></li>
<li class="tab4"><a href="#4">Tab Title</a></li>
<li class="tab4"><a href="#4">Tab Title</a></li>
</ul>
</div>
<div class="coda-slider preload" id="coda-slider-1">
<div class="panel">
<div class="panel-wrapper">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Slider 1') ) : ?><?php endif; ?>
</div>
</div>
<div class="panel">
<div class="panel-wrapper">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Slider 2') ) : ?><?php endif; ?>
</div>
</div>
<div class="panel">
<div class="panel-wrapper">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Slider 3') ) : ?><?php endif; ?>
</div>
</div>
<div class="panel">
<div class="panel-wrapper">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Slider 4') ) : ?><?php endif; ?>
</div>
</div>
<div class="panel">
<div class="panel-wrapper">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Slider 5') ) : ?><?php endif; ?>
</div>
</div>
<div class="panel">
<div class="panel-wrapper">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Slider 6') ) : ?><?php endif; ?>
</div>
</div>
</div><!-- .coda-slider -->
</div><!-- .coda-slider-wrapper -->
<div class="clear"></div>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.