Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * Template Name: Coming Soon
- */
- get_header('alternative');
- $comingsoon_date = '';
- if ( kidzy_options('comingsoon-date') ) {
- $comingsoon_date = esc_attr( kidzy_options('comingsoon-date') );
- } ?>
- <section class="coming-soon-section text-center">
- <?php if( kidzy_options_url('comingsoon-logo','url')): ?>
- <div class="coming-soon-logo">
- <img src="<?php echo esc_url( kidzy_options_url('comingsoon-logo','url')); ?>" alt="<?php esc_html_e( '404 error', 'kidzy' ); ?>">
- </div>
- <?php endif; ?>
- <?php
- $countdate = str_replace('-', '/', $comingsoon_date);
- //$jihad = date_i18n("Y-m-d", strtotime($comingsoon_date)); ?>
- <ul id="count-down" class="counter-class coming-soon-counter" data-date="<?php echo esc_attr($countdate);?>">
- <li class="countdown-section">
- <p class="days counter-days"></p>
- <span class="countdown-period"><?php esc_html_e('Days', 'kidzy') ?></span>
- </li>
- <li class="countdown-section">
- <p class="hours counter-hours"></p>
- <span class="countdown-period"><?php esc_html_e('Hours', 'kidzy') ?></span>
- </li>
- <li class="countdown-section">
- <p class="minutes counter-minutes"></p>
- <span class="countdown-period"><?php esc_html_e('Minutes', 'kidzy') ?></span>
- </li>
- <li class="countdown-section">
- <p class="seconds counter-seconds"></p>
- <span class="countdown-period"><?php esc_html_e('Seconds', 'kidzy') ?></span>
- </li>
- </ul>
- <ul class="social-icon">
- <li><?php if ( kidzy_options('topbar-social')) { ?>
- <?php get_template_part( 'lib/social-icons'); ?>
- <?php } ?></li>
- </ul>
- <?php if ( kidzy_options('comingsoon-subtitle') ){?>
- <p><?php echo esc_html( kidzy_options('comingsoon-subtitle' )); ?></p>
- <?php }?>
- <form action="#" method="post" class="coming-soon-subs-form">
- <input type="email" placeholder="Enter your email here" name="email">
- <button type="submit" class="primary-btn"><span><?php esc_html_e( 'Submit', 'kidzy' ); ?></span></button>
- </form>
- <div class="text-center comingsoon-footer">
- <?php if ( kidzy_options('comingsoon-copyright') ){?>
- <div class="copyright-text">
- <p><?php echo esc_html(kidzy_options('comingsoon-copyright')); ?></p>
- </div>
- <?php }?>
- </div><!--/.comingsoon-footer-->
- </section> <!-- Comingsoon -->
- <?php get_footer('alternative');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement