コード例 #1
0
ファイル: widget.php プロジェクト: mysia84/mnassalska
 public function widget($args, $instance)
 {
     ob_start();
     extract($args);
     $title = apply_filters('widget_title', $instance['title'], $instance, $this->id_base);
     ob_start();
     echo $before_widget;
     if ($title) {
         echo $before_title . $title . $after_title;
     }
     dh_mailchimp_form();
     echo $after_widget;
     $content = ob_get_clean();
     echo $content;
 }
コード例 #2
0
ファイル: footer.php プロジェクト: jonasbelcina/platinumdxb
		
		<?php 
if (dh_get_theme_option('footer-newsletter', 1)) {
    ?>
			<div class="footer-newsletter">
				<div class="<?php 
    dh_container_class();
    ?>
">
					<div class="footer-newsletter-wrap">
						<h3 class="footer-newsletter-heading"><?php 
    esc_html_e('NEWSLETTER', 'woow');
    ?>
</h3>
						<?php 
    dh_mailchimp_form();
    ?>
					</div>
				</div>
			</div>
		<?php 
}
?>

		<?php 
if (dh_get_theme_option('footer-featured', 1) && dh_get_theme_option('footer-featured-style', 'default') == 'default') {
    ?>
			<div class="footer-featured <?php 
    echo esc_attr(dh_get_theme_option('footer-featured-style', 'default'));
    ?>
">