Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="stack stack-callout callout-<?php echo $stack['style']; ?> <?php echo $element_style; ?>" id="<?php echo $stack['id']; ?>" style="<?php if($stack['style'] != 'box') echo $stack_css; ?>">
- <div class="container">
- <div class="row">
- <div class="col-md-12">
- <div class="callout-wrap" style="<?php if($stack['style'] == 'box') echo $stack_css; ?>" >
- <?php if( $stack['element'] == 'button' ): ?>
- <a href="<?php echo $stack['button_link']; ?>" class="hidden-xs nt-button button-primary nt-enter-effect <?php if( $stack['button_icon'] == '' ): ?>no-icon<?php endif; ?>">
- <?php if( $stack['button_icon'] != '' ): ?> <i class="fa <?php echo $stack['button_icon']; ?> "></i> <?php endif; ?>
- <?php echo do_shortcode($stack['button_text']); ?>
- <?php if( $stack['button_sub_text'] ): ?>
- <br /><small><?php echo $stack['button_sub_text']; ?></small>
- <?php endif; ?>
- </a>
- <?php elseif( $stack['element'] == 'icon' ): ?>
- <i class="fa <?php echo $stack['icon']; ?> callout-icon nt-enter-effect"></i>
- <?php elseif( $stack['element'] == 'running-number' ): ?>
- <div class="running-number-box"><span class="running-number" data-from='0' data-to='<?php echo $stack['number']; ?>' data-now='0'><?php echo $stack['number']; ?></span><span class="running-tag"><?php echo $stack['number_tag']; ?></span></div>
- <?php endif; ?>
- <div class="callout-text nt-enter-effect"><?php echo do_shortcode($stack['stack_title']); ?></div>
- <?php if( $stack['element'] == 'button' ): ?>
- <a href="<?php echo $stack['button_link']; ?>" class="visible-xs nt-button button-primary nt-enter-effect <?php if( $stack['button_icon'] == '' ): ?>no-icon<?php endif; ?>">
- <?php if( $stack['button_icon'] != '' ): ?> <i class="fa <?php echo $stack['button_icon']; ?> "></i> <?php endif; ?>
- <?php echo do_shortcode($stack['button_text']); ?>
- <?php if( $stack['button_sub_text'] ): ?>
- <br /><small><?php echo $stack['button_sub_text']; ?></small>
- <?php endif; ?>
- </a>
- <?php endif; ?>
- </div>
- </div>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement