• 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: Swap home feature section widget

Home › Community Forums › Optimal Theme Support › Swap home feature section widget › Reply To: Swap home feature section widget

January 27, 2014 at 11:38 am #10219
bagus
Customer

Hi Eric,

Thank you for your advice
Something like this.. haha.. the results was a mess on my localhost. Please revised.

/**
* Display widget content for “Home Features” sections.
*
*/
function optimal_home_loop_helper_middle() {

echo ‘<div class=”home-features”><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 class=”home-feature-section”>’;

genesis_widget_area( ‘home-feature-sidebar’, array(
‘before’ => ‘<div class=”home-feature-sidebar”>’,
‘after’ => ‘</div>’,
) );

echo ‘</div><!– end .home-feature-section –></div><!– end .wrap –></div><!– end .home-features –>’;

}

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