/*
 Theme Name:   Ensaf Child  
 Theme URI:    https://wordpress.themeholy.com/ensaf/
 Description:  This is a child theme for ensaf - WordPress Theme
 Author:       Themeholy
 Author URI:   https://themeforest.net/user/themeholy
 Template:     ensaf
 Version:      1.0
 Tags:         two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  ensaf-child
*/

/*  [ Add your custom css below ] 
- - - - - - - - - - - - - - - - - - - - */   


// Shortcode to display default blog layout inside Elementor
function ensaf_blog_shortcode() {
    ob_start();
    if ( locate_template( 'home.php' ) ) {
        include( locate_template( 'home.php' ) );
    } elseif ( locate_template( 'archive.php' ) ) {
        include( locate_template( 'archive.php' ) );
    } else {
        include( locate_template( 'index.php' ) );
    }

    return ob_get_clean();
}
add_shortcode( 'ensaf_blog', 'ensaf_blog_shortcode' );
