Add a footer widget area

The code snippets below should be pasted into your child theme's functions.php file.

Here is how you can register and display a widget area above the footer. Widgets will automatically be displayed as a responsive grid in the example below.

// Register a footer widget area.
add_action( 'widgets_init', 'example_widget_area' );

function example_widget_area() {

    beans_register_widget_area( array(
        'name' => 'Footer',
        'id' => 'footer',
        'beans_type' => 'grid'
    ) );

}


// Display the footer widget area in the front end.
add_action( 'beans_footer_before_markup', 'example_footer_widget_area' );

function example_footer_widget_area() {

 ?>
  <div class="tm-mega-footer uk-block">
   <div class="uk-container uk-container-center">
      <?php echo beans_widget_area( 'footer' ); ?>
    </div>
  </div>
  <?php

}