%PDF- %PDF-
Direktori : /home/eirtvhdf/makkitrust.org/wp-content/themes/alhambra/front-page/ |
Current File : /home/eirtvhdf/makkitrust.org/wp-content/themes/alhambra/front-page/section-blog.php |
<div class="front_page_section front_page_section_blog<?php $alhambra_scheme = alhambra_get_theme_option('front_page_blog_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_blog_paddings')); ?>"<?php $alhambra_css = ''; $alhambra_bg_image = alhambra_get_theme_option('front_page_blog_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_blog_anchor_icon'); $alhambra_anchor_text = alhambra_get_theme_option('front_page_blog_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_blog"' . (!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_blog_inner"<?php $alhambra_css = ''; $alhambra_bg_mask = alhambra_get_theme_option('front_page_blog_bg_mask'); $alhambra_bg_color = alhambra_get_theme_option('front_page_blog_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_blog_content_wrap content_wrap"> <?php // Caption $alhambra_caption = alhambra_get_theme_option('front_page_blog_caption'); if (!empty($alhambra_caption) || (current_user_can('edit_theme_options') && is_customize_preview())) { ?><h2 class="front_page_section_caption front_page_section_blog_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_blog_description'); if (!empty($alhambra_description) || (current_user_can('edit_theme_options') && is_customize_preview())) { ?><div class="front_page_section_description front_page_section_blog_description front_page_block_<?php echo !empty($alhambra_description) ? 'filled' : 'empty'; ?>"><?php echo wpautop(wp_kses($alhambra_description, 'alhambra_kses_content')); ?></div><?php } // Content (widgets) ?><div class="front_page_section_output front_page_section_blog_output"><?php if (is_active_sidebar('front_page_blog_widgets')) { dynamic_sidebar( 'front_page_blog_widgets' ); } else if (current_user_can( 'edit_theme_options' )) { if (!alhambra_exists_trx_addons()) alhambra_customizer_need_trx_addons_message(); else alhambra_customizer_need_widgets_message('front_page_blog_caption', 'ThemeREX Addons - Blogger'); } ?></div> </div> </div> </div>