Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/public_html/wp-content/themes/puca/vc_templates/ |
Upload File : |
<?php $el_class = $css = $css_animation = ''; $atts = vc_map_get_attributes( $this->getShortcode(), $atts ); extract( $atts ); $css = isset( $atts['css'] ) ? $atts['css'] : ''; $el_class = isset( $atts['el_class'] ) ? $atts['el_class'] : ''; $class_to_filter = 'widget widget-newletter '; $class_to_filter .= vc_shortcode_custom_css_class( $css, ' ' ) . $this->getExtraClass( $el_class ) . $this->getCSSAnimation( $css_animation ); $css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $class_to_filter, $this->settings['base'], $atts ); ?> <div class="<?php echo esc_attr($css_class); ?>"> <?php if( (isset($subtitle) && $subtitle) || (isset($title) && $title) ): ?> <h3 class="widget-title"> <?php if ( isset($title) && $title ): ?> <span><?php echo esc_html( $title ); ?></span> <?php endif; ?> <?php if ( isset($subtitle) && $subtitle ): ?> <span class="subtitle"><?php echo esc_html($subtitle); ?></span> <?php endif; ?> </h3> <?php endif; ?> <div class="widget-content"> <?php if (!empty($description)) { ?> <p class="widget-description"> <?php echo trim( $description ); ?> </p> <?php } ?> <?php if (function_exists('mc4wp_show_form')) { try { $form = mc4wp_get_form(); echo do_shortcode('[mc4wp_form id="'. $form->ID .'"]'); } catch (Exception $e) { esc_html_e('Please create a newsletter form from Mailchip plugins', 'puca'); } } ?> </div> </div>