| Server IP : 172.67.75.225 / Your IP : 216.73.216.185 Web Server : nginx/1.27.1 System : Linux us-1 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64 User : vinodai ( 3134) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v1396/wwwindicidolscom/public_html/wp-content/themes/shakti/front-page/ |
Upload File : |
<div class="front_page_section front_page_section_blog<?php
$shakti_scheme = shakti_get_theme_option( 'front_page_blog_scheme' );
if ( ! empty( $shakti_scheme ) && ! shakti_is_inherit( $shakti_scheme ) ) {
echo ' scheme_' . esc_attr( $shakti_scheme );
}
echo ' front_page_section_paddings_' . esc_attr( shakti_get_theme_option( 'front_page_blog_paddings' ) );
if ( shakti_get_theme_option( 'front_page_blog_stack' ) ) {
echo ' sc_stack_section_on';
}
?>"
<?php
$shakti_css = '';
$shakti_bg_image = shakti_get_theme_option( 'front_page_blog_bg_image' );
if ( ! empty( $shakti_bg_image ) ) {
$shakti_css .= 'background-image: url(' . esc_url( shakti_get_attachment_url( $shakti_bg_image ) ) . ');';
}
if ( ! empty( $shakti_css ) ) {
echo ' style="' . esc_attr( $shakti_css ) . '"';
}
?>
>
<?php
// Add anchor
$shakti_anchor_icon = shakti_get_theme_option( 'front_page_blog_anchor_icon' );
$shakti_anchor_text = shakti_get_theme_option( 'front_page_blog_anchor_text' );
if ( ( ! empty( $shakti_anchor_icon ) || ! empty( $shakti_anchor_text ) ) && shortcode_exists( 'trx_sc_anchor' ) ) {
echo do_shortcode(
'[trx_sc_anchor id="front_page_section_blog"'
. ( ! empty( $shakti_anchor_icon ) ? ' icon="' . esc_attr( $shakti_anchor_icon ) . '"' : '' )
. ( ! empty( $shakti_anchor_text ) ? ' title="' . esc_attr( $shakti_anchor_text ) . '"' : '' )
. ']'
);
}
?>
<div class="front_page_section_inner front_page_section_blog_inner
<?php
if ( shakti_get_theme_option( 'front_page_blog_fullheight' ) ) {
echo ' shakti-full-height sc_layouts_flex sc_layouts_columns_middle';
}
?>
"
<?php
$shakti_css = '';
$shakti_bg_mask = shakti_get_theme_option( 'front_page_blog_bg_mask' );
$shakti_bg_color_type = shakti_get_theme_option( 'front_page_blog_bg_color_type' );
if ( 'custom' == $shakti_bg_color_type ) {
$shakti_bg_color = shakti_get_theme_option( 'front_page_blog_bg_color' );
} elseif ( 'scheme_bg_color' == $shakti_bg_color_type ) {
$shakti_bg_color = shakti_get_scheme_color( 'bg_color', $shakti_scheme );
} else {
$shakti_bg_color = '';
}
if ( ! empty( $shakti_bg_color ) && $shakti_bg_mask > 0 ) {
$shakti_css .= 'background-color: ' . esc_attr(
1 == $shakti_bg_mask ? $shakti_bg_color : shakti_hex2rgba( $shakti_bg_color, $shakti_bg_mask )
) . ';';
}
if ( ! empty( $shakti_css ) ) {
echo ' style="' . esc_attr( $shakti_css ) . '"';
}
?>
>
<div class="front_page_section_content_wrap front_page_section_blog_content_wrap content_wrap">
<?php
// Caption
$shakti_caption = shakti_get_theme_option( 'front_page_blog_caption' );
if ( ! empty( $shakti_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( $shakti_caption ) ? 'filled' : 'empty'; ?>"><?php echo wp_kses( $shakti_caption, 'shakti_kses_content' ); ?></h2>
<?php
}
// Description (text)
$shakti_description = shakti_get_theme_option( 'front_page_blog_description' );
if ( ! empty( $shakti_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( $shakti_description ) ? 'filled' : 'empty'; ?>"><?php echo wp_kses( wpautop( $shakti_description ), 'shakti_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' );
} elseif ( current_user_can( 'edit_theme_options' ) ) {
if ( ! shakti_exists_trx_addons() ) {
shakti_customizer_need_trx_addons_message();
} else {
shakti_customizer_need_widgets_message( 'front_page_blog_caption', 'ThemeREX Addons - Blogger' );
}
}
?>
</div>
</div>
</div>
</div>