<label for="yit_mailchimp_newsletter_form_email"><?php _e('Email', 'yit'); ?> </label> <?php } ?> <div class="newsletter_form_email"> <input type="text" <?php echo $shortcode == 'newsletter_cta' ? 'placeholder="' . __('Email', 'yit') . '"' : ''; ?> name="yit_mailchimp_newsletter_form_email" id="yit_mailchimp_newsletter_form_email" class="email-field text-field autoclear" /> <?php if (isset($icon_form) && $icon_form != '-1') { if (strpos($icon_form, ':')) { $icon_data = YIT_Plugin_Common::get_icon($icon_form); $icon = '<span class="mail-icon-' . $sc_type . '" ' . $icon_data . '></span>'; } else { $icon = '<span class="fa fa-' . $icon_form . ' mail-icon-' . $sc_type . '"></span>'; $icon .= '<style>.mail-icon-' . $sc_type . ':before { content: "\\' . $icon_form . '"; }</style>'; } echo $icon; } ?> </div> </li> <li> <input type="hidden" name="yit_mailchimp_newsletter_form_id" value="<?php echo $post_id; ?>
*/ if (!defined('ABSPATH')) { exit; } // Exit if accessed directly $icon_data = ''; $icon = ''; $icon_type = $icon_type == '' ? 'theme-icon' : $icon_type; if ($icon_type == 'theme-icon') { $color_property = $color == '' ? '' : 'color:' . $color . ';'; $border_color = $color == '' ? '' : 'border-color:' . $color . ';'; $icon_size = $icon_size == '' ? '60' : $icon_size; $circle = $circle == 'no' ? false : true; if (isset($icon_theme) && $icon_theme != '') { if (strpos($icon_theme, ':')) { $icon_data = YIT_Plugin_Common::get_icon($icon_theme); $icon = '<i ' . $icon_data . ' style="' . $color_property . ' font-size: ' . $icon_size . 'px"></i>'; } else { $icon = '<i class="fa fa-' . $icon_theme . '" style="' . $color_property . ' font-size: ' . $icon_size . 'px"></i>'; } } ?> <?php if ($circle) { ?> <span class="icon-circle" style="width:<?php echo $circle_size; ?> px; height:<?php echo $circle_size; ?>