%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/eirtvhdf/makkitrust.org/wp-content/themes/alhambra/front-page/
Upload File :
Create Path :
Current File : /home/eirtvhdf/makkitrust.org/wp-content/themes/alhambra/front-page/section-subscribe.php

<div class="front_page_section front_page_section_subscribe<?php
			$alhambra_scheme = alhambra_get_theme_option('front_page_subscribe_scheme');
			if (!alhambra_is_inherit($alhambra_scheme)) echo ' scheme_'.esc_attr($alhambra_scheme);
			echo ' front_page_section_paddings_'.esc_attr(alhambra_get_theme_option('front_page_subscribe_paddings'));
		?>"<?php
		$alhambra_css = '';
		$alhambra_bg_image = alhambra_get_theme_option('front_page_subscribe_bg_image');
		if (!empty($alhambra_bg_image)) 
			$alhambra_css .= 'background-image: url('.esc_url(alhambra_get_attachment_url($alhambra_bg_image)).');';
		if (!empty($alhambra_css))
			echo " style=\"{$alhambra_css}\"";
?>><?php
	// Add anchor
	$alhambra_anchor_icon = alhambra_get_theme_option('front_page_subscribe_anchor_icon');	
	$alhambra_anchor_text = alhambra_get_theme_option('front_page_subscribe_anchor_text');	
	if ((!empty($alhambra_anchor_icon) || !empty($alhambra_anchor_text)) && shortcode_exists('trx_sc_anchor')) {
		echo do_shortcode('[trx_sc_anchor id="front_page_section_subscribe"'
										. (!empty($alhambra_anchor_icon) ? ' icon="'.esc_attr($alhambra_anchor_icon).'"' : '')
										. (!empty($alhambra_anchor_text) ? ' title="'.esc_attr($alhambra_anchor_text).'"' : '')
										. ']');
	}
	?>
	<div class="front_page_section_inner front_page_section_subscribe_inner"<?php
			$alhambra_css = '';
			$alhambra_bg_mask = alhambra_get_theme_option('front_page_subscribe_bg_mask');
			$alhambra_bg_color = alhambra_get_theme_option('front_page_subscribe_bg_color');
			if (!empty($alhambra_bg_color) && $alhambra_bg_mask > 0)
				$alhambra_css .= 'background-color: '.esc_attr($alhambra_bg_mask==1
																	? $alhambra_bg_color
																	: alhambra_hex2rgba($alhambra_bg_color, $alhambra_bg_mask)
																).';';
			if (!empty($alhambra_css))
				echo " style=\"{$alhambra_css}\"";
	?>>
		<div class="front_page_section_content_wrap front_page_section_subscribe_content_wrap content_wrap">
			<?php
			// Caption
			$alhambra_caption = alhambra_get_theme_option('front_page_subscribe_caption');
			if (!empty($alhambra_caption) || (current_user_can('edit_theme_options') && is_customize_preview())) {
				?><h2 class="front_page_section_caption front_page_section_subscribe_caption front_page_block_<?php echo !empty($alhambra_caption) ? 'filled' : 'empty'; ?>"><?php echo wp_kses($alhambra_caption, 'alhambra_kses_content'); ?></h2><?php
			}
		
			// Description (text)
			$alhambra_description = alhambra_get_theme_option('front_page_subscribe_description');
			if (!empty($alhambra_description) || (current_user_can('edit_theme_options') && is_customize_preview())) {
				?><div class="front_page_section_description front_page_section_subscribe_description front_page_block_<?php echo !empty($alhambra_description) ? 'filled' : 'empty'; ?>"><?php echo wpautop(wp_kses($alhambra_description, 'alhambra_kses_content')); ?></div><?php
			}
			
			// Content
			$alhambra_sc = alhambra_get_theme_option('front_page_subscribe_shortcode');
			if (!empty($alhambra_sc) || (current_user_can('edit_theme_options') && is_customize_preview())) {
				?><div class="front_page_section_output front_page_section_subscribe_output front_page_block_<?php echo !empty($alhambra_sc) ? 'filled' : 'empty'; ?>"><?php
					alhambra_show_layout(do_shortcode($alhambra_sc));
				?></div><?php
			}
			?>
		</div>
	</div>
</div>

Zerion Mini Shell 1.0