• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Reply To: Moving the Order of the Widgets Please…

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

March 22, 2015 at 11:07 pm #15373
Wes
Moderator

Ok I see what happened. Thanks for sending me the FTP login, it took me 30 seconds to see exactly what was going on. I didn’t know you replaced the functions/sections in addition to the widget locations, so thats why it didn’t show up in the new order that you’re trying to do.

It should be fixed now. Each of those widgets in your home.php file are inside a function/section. This labels and groups the widgets together in separate sections that appear on your homepage. So If you look near the top you would have seen this originally –

		remove_action( 'genesis_loop', 'genesis_do_loop' );
		add_action( 'genesis_after_header', 'epik_home_loop_helper_top' );
		add_action( 'genesis_after_header', 'epik_home_loop_helper_welcome' );		
		add_action( 'genesis_after_header', 'epik_home_loop_helper_middle' );
		add_action( 'genesis_after_header', 'epik_home_loop_helper_mid_bottom' );
		add_action( 'genesis_after_header', 'epik_home_loop_helper_bottom' );
		add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

The last step was to reorganize the two sections labeled – epik_home_loop_helper_mid_bottom with epik_home_loop_helper_bottom and reverse the order that they appear since you reorganized those two sections in your home.php file. To do so, you would need to replace the code above with the following (I already did it for you) –

		remove_action( 'genesis_loop', 'genesis_do_loop' );
		add_action( 'genesis_after_header', 'epik_home_loop_helper_top' );
		add_action( 'genesis_after_header', 'epik_home_loop_helper_welcome' );		
		add_action( 'genesis_after_header', 'epik_home_loop_helper_middle' );
		add_action( 'genesis_after_header', 'epik_home_loop_helper_bottom' );
		add_action( 'genesis_after_header', 'epik_home_loop_helper_mid_bottom' );
		add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

Everything should be fixed now. Those two lines were the only thing that needed to be adjusted.

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework