Advertisement
Guest User

Move widget in Lifestyle

a guest
Dec 4th, 2014
165
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function lifestyle_homepage_widgets() {
  2.  
  3. genesis_widget_area( 'home-top', array(
  4. 'before' => '<div class="home-top widget-area">',
  5. 'after' => '</div>',
  6. ) );
  7.  
  8. genesis_widget_area( 'home-middle', array(
  9. 'before' => '<div class="home-middle widget-area">',
  10. 'after' => '</div>',
  11. ) );
  12. genesis_widget_area( 'home-bottom-right', array(
  13. 'before' => '<div class="home-bottom-right widget-area">',
  14. 'after' => '</div>',
  15. ) );
  16.  
  17. if ( is_active_sidebar( 'home-bottom-left' ) || is_active_sidebar( 'home-bottom-left-two' ) || is_active_sidebar( 'home-bottom-left-three' ) || is_active_sidebar( 'home-bottom-left-four' ) ) {
  18.  
  19. echo '<div class="home-bottom">';
  20.  
  21. genesis_widget_area( 'home-bottom-left', array(
  22. 'before' => '<div class="home-bottom-left widget-area">',
  23. 'after' => '</div>',
  24. ) );
  25.  
  26. genesis_widget_area( 'home-bottom-left-two', array(
  27. 'before' => '<div class="home-bottom-left widget-area">',
  28. 'after' => '</div>',
  29. ) );
  30.  
  31. genesis_widget_area( 'home-bottom-left-three', array(
  32. 'before' => '<div class="home-bottom-left widget-area">',
  33. 'after' => '</div>',
  34. ) );
  35.  
  36. genesis_widget_area( 'home-bottom-left-four', array(
  37. 'before' => '<div class="home-bottom-left widget-area">',
  38. 'after' => '</div>',
  39. ) );
Advertisement
RAW Paste Data Copied
Advertisement