Reply To: Welcome Feature 4-6

Homepage Community Forums Epik Theme Support Welcome Feature 4-6 Reply To: Welcome Feature 4-6

#3243
walidmrealtor
Customer

    /**
    * Display widget content for "Home Feature Middle" section.
    *
    */
    function epik_home_loop_helper_middle() {

    if ( is_active_sidebar( 'home-feature-1' ) || is_active_sidebar( 'home-feature-2' ) ) {

    echo '';

    if ( is_active_sidebar( 'home-feature-1' ) ) {
    echo '';
    dynamic_sidebar( 'home-feature-1' );
    echo '<!-- end .feature-1 -->';
    }

    if ( is_active_sidebar( 'home-feature-2' ) ) {
    echo '';
    dynamic_sidebar( 'home-feature-2' );
    echo '<!-- end .feature-2 -->';
    }

    echo '<!-- end .wrap --><!-- end #home-feature-bg-alt -->';

    }

    /**
    * Display widget content for the "Home Feature 2" section.
    *
    */
    function epik_home_loop_helper_welcome() {

    if ( is_active_sidebar( 'welcome-feature-4' ) || is_active_sidebar( 'welcome-feature-5' ) || is_active_sidebar( 'welcome-feature-6' ) ) {

    echo '';

    echo '';

    if ( is_active_sidebar( 'welcome-feature-4' ) ) {
    echo '';
    dynamic_sidebar( 'welcome-feature-4' );
    echo '<!-- end .welcome-feature-4 -->';
    }

    if ( is_active_sidebar( 'welcome-feature-5' ) ) {
    echo '';
    dynamic_sidebar( 'welcome-feature-5' );
    echo '<!-- end .welcome-feature-5 -->';
    }

    if ( is_active_sidebar( 'welcome-feature-6' ) ) {
    echo '';
    dynamic_sidebar( 'welcome-feature-6' );
    echo '<!-- end .welcome-feature-6 -->';
    }

    echo '<!-- end .welcome-features --><!-- end .wrap --><!-- end #welcome -->';

    }

    }

    if ( is_active_sidebar( 'home-feature-3' ) ) {
    echo '';
    dynamic_sidebar( 'home-feature-3' );
    echo '<!-- end .feature-3 --><!-- end .wrap --><!-- end #home-feature-bg -->';
    }

    if ( is_active_sidebar( 'home-feature-4' ) ) {
    echo '';
    dynamic_sidebar( 'home-feature-4' );
    echo '<!-- end .feature-4 --><!-- end .feature-4 --><!-- end #home-feature-bg-alt -->';
    }

    }