Forta Site Top Widget Areas
// Register Sidebars
function top_widget_areas() {
$args = array(
'id' => 'top-left-area',
'class' => 'top-widget',
'name' => __( 'Top Left Widget Area', 'text_domain' ),
'description' => __( 'Holds custom menu items', 'text_domain' ),
'before_widget' => ' ',
'after_widget' => ' ',
);
register_sidebar( $args );
$args = array(
'id' => 'top-right-area',
'class' => 'top-widget',
'name' => __( 'Top Right Widget Area', 'text_domain' ),
'description' => __( 'Initial intention is for the placement of the 'Request a Quote' form - can be used to hold link or short text', 'text_domain' ),
'before_widget' => ' ',
'after_widget' => ' ',
);
register_sidebar( $args );
$args = array(
'id' => 'top-form-block',
'class' => 'top-widget',
'name' => __( 'Top Form Area', 'text_domain' ),
'description' => __( 'Place the contact form widget here to display for 'Request a Quote'', 'text_domain' ),
'before_widget' => ' ',
'after_widget' => ' ',
);
register_sidebar( $args );
}
add_action( 'widgets_init', 'top_widget_areas' );