Reply To: Moving the Order of the Widgets Please…

Homepage Community Forums Epik Theme Support Moving the Order of the Widgets Please… Reply To: Moving the Order of the Widgets Please…

#15197
m
Customer

    Jason thank you for your reply!

    Also thank you for your patience, you said that I can move the order anyway I wish to but am still confused on how to do this.

    Do I take this section for 9,10,11,12,13,14 and simply move it up and paste it right after 1,2,3,4 like this below?

    /**
    * Display widget content for “Home Feature 1, 2, 3, and 4″ sections.
    *
    */
    function epik_home_loop_helper_middle() {
    
    if ( is_active_sidebar( ‘home-feature-1′ ) || is_active_sidebar( ‘home-feature-2′ ) ) {
    
    echo ‘<div class=”home-feature-bg-alt”><div class=”wrap”>';
    
    genesis_widget_area( ‘home-feature-1′, array(
    ‘before’ => ‘<div class=”home-feature-1″>’,
    ‘after’ => ‘</div>’,
    ) );
    
    genesis_widget_area( ‘home-feature-2′, array(
    ‘before’ => ‘<div class=”home-feature-2″>’,
    ‘after’ => ‘</div>’,
    ) );
    
    echo ‘</div><!– end .wrap –></div><!– end #home-feature-bg-alt –>';
    
    }
    
    genesis_widget_area( ‘home-feature-3′, array(
    ‘before’ => ‘<div class=”home-feature-bg”><div class=”wrap”><div class=”home-feature-3″>’,
    ‘after’ => ‘</div></div></div>’,
    ) );
    
    genesis_widget_area( ‘home-feature-4′, array(
    ‘before’ => ‘<div class=”home-feature-bg-alt”><div class=”wrap”><div class=”home-feature-4″>’,
    ‘after’ => ‘</div></div></div>’,
    ) );
    
    }
    
    /**
    * Display widget content for the “Home Feature 9, 10, 11, 12, 13, and 14″ sections.
    *
    */
    function epik_home_loop_helper_bottom() {
    
    if ( is_active_sidebar( ‘home-feature-9′ ) || is_active_sidebar( ‘home-feature-10′ ) || is_active_sidebar( ‘home-feature-11′ ) || is_active_sidebar( ‘home-feature-12′ ) || is_active_sidebar( ‘home-feature-13′ ) ) {
    
    echo ‘<div class=”home-feature-bg”><div class=”wrap”>';
    
    genesis_widget_area( ‘home-feature-9′, array(
    ‘before’ => ‘<div class=”home-feature-9″>’,
    ‘after’ => ‘</div>’,
    ) );
    
    genesis_widget_area( ‘home-feature-10′, array(
    ‘before’ => ‘<div class=”home-feature-10″>’,
    ‘after’ => ‘</div>’,
    ) );
    
    genesis_widget_area( ‘home-feature-11′, array(
    ‘before’ => ‘<div class=”home-feature-11″>’,
    ‘after’ => ‘</div>’,
    ) );
    
    genesis_widget_area( ‘home-feature-12′, array(
    ‘before’ => ‘<div class=”home-feature-12″>’,
    ‘after’ => ‘</div>’,
    ) );
    
    genesis_widget_area( ‘home-feature-13′, array(
    ‘before’ => ‘<div class=”home-feature-13″>’,
    ‘after’ => ‘</div>’,
    ) );
    
    echo ‘</div><!– end .wrap –></div><!– end #home-feature-bg –>';
    
    }
    
    genesis_widget_area( ‘home-feature-14′, array(
    ‘before’ => ‘<div class=”home-feature-bg-alt”><div class=”wrap”><div class=”home-feature-14″>’,
    ‘after’ => ‘</div></div></div>’,
    ) );
    
    }

    Or do I change the order here:

    f ( is_active_sidebar( ‘slider-wide’ ) || is_active_sidebar( ‘slider’ ) || is_active_sidebar( ‘welcome-wide’ ) || is_active_sidebar( ‘welcome-feature-1′ ) || is_active_sidebar( ‘welcome-feature-2′ ) || is_active_sidebar( ‘welcome-feature-3′ ) || is_active_sidebar( ‘home-feature-4′ ) || is_active_sidebar( ‘home-feature-5′ ) || is_active_sidebar( ‘home-feature-6′ ) || is_active_sidebar( ‘home-feature-7′ ) || is_active_sidebar( ‘home-feature-8′ ) || is_active_sidebar( ‘home-feature-9′ ) || is_active_sidebar( ‘home-feature-10′ ) || is_active_sidebar( ‘home-feature-11′ ) || is_active_sidebar( ‘home-feature-12′ ) || is_active_sidebar( ‘home-feature-13′ ) || is_active_sidebar( ‘home-feature-14′ ) )

    For example I would write:

    f ( is_active_sidebar( ‘slider-wide’ ) || is_active_sidebar( ‘slider’ ) || is_active_sidebar( ‘welcome-wide’ ) || is_active_sidebar( ‘welcome-feature-1′ ) || is_active_sidebar( ‘welcome-feature-2′ ) || is_active_sidebar( ‘welcome-feature-3′ ) || is_active_sidebar( ‘home-feature-4′ ) || is_active_sidebar( ‘home-feature-9′ ) || is_active_sidebar( ‘home-feature-10′ ) || is_active_sidebar( ‘home-feature-11′ ) || is_active_sidebar( ‘home-feature-12′ ) || is_active_sidebar( ‘home-feature-13′ ) || is_active_sidebar( ‘home-feature-14′ ) || is_active_sidebar( ‘home-feature-5′ ) || is_active_sidebar( ‘home-feature-6′ ) || is_active_sidebar( ‘home-feature-7′ ) || is_active_sidebar( ‘home-feature-8′ ) )

    as you can see above I moved 9,10,11,12,13,14 right after the “home feature 4”.

    Thank you again, truly appreciate it!!!