Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( function_exists( 'ot_get_option' ) ) { : ?>
- <div class="">
- <div id="sidebar_add_slider">
- /* get the slider array */
- <?php $slides = ot_get_option( 'home_adverts_section', array() );
- if ( ! empty( $slides ) ) {
- foreach( $slides as $slide ) {
- echo '
- <div class="single_slide_side">
- <a href="'.$slide['home_adverts_section_url'].'" class="normaltip" title="Facebook"><img src="'.$slide['home_adverts_section_thumb'].'" alt=""></a>
- </div>
- ';
- }
- } : ?>
- </div>
- </div>
- <?php }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement