__( 'Sidebar', 'parallel' ),
'id' => 'sidebar-1',
'description' => __('Widgets in this area will be shown in the default sidebar.', 'parallel' ),
'before_widget' => '',
'before_title' => '
',
) );
if( isset( $parallel['features-layout'] ) ) {
$features_layout = $parallel['features-layout'];
register_sidebar( array(
'name' => __( 'Homepage Features Section', 'parallel' ),
'id' => 'feature-widgets',
'description' => __( 'The FEATURES section which appears on the homepage. Drag and drop widgets titled [Parallel - Feature Widget] here to add features.', 'parallel' ),
'before_widget' => '',
'before_title' => '',
'after_title' => '
',
) );
}
if( isset( $parallel['testi-layout'] ) ) {
register_sidebar( array(
'name' =>__( 'Homepage Testimonials Section', 'parallel'),
'id' => 'testimonial-widgets',
'description' => __( 'The TESTIMONIALS section which appears on the homepage. Drag and drop widgets titled [Parallel - Testimonial Widget] here to add testimonials.', 'parallel' ),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '
',
) );
}
if( isset( $parallel['services-layout'] ) ) {
$services_layout = $parallel['services-layout'];
register_sidebar( array(
'name' =>__( 'Homepage Services Section', 'parallel'),
'id' => 'service-widgets',
'description' => __( 'The SERVICES section which appears on the homepage. Drag and drop widgets titled [Parallel - Service Widget] here to add services.', 'parallel' ),
'before_widget' => '',
'after_widget' => '
',
'before_title' => '',
'after_title' => '
',
) );
}
if( isset( $parallel['brands-layout'] ) ) {
$brands_layout = $parallel['brands-layout'];
register_sidebar( array(
'name' =>__( 'Homepage Brands Section', 'parallel'),
'id' => 'brands-widgets',
'description' => __( 'The Brands section which appears on the homepage. Drag and drop widgets titled [Parallel - Brand Widget] here to add brands.', 'parallel' ),
'before_widget' => '',
'after_widget' => '
',
'before_title' => '',
) );
}
if( isset( $parallel['team-layout'] ) ) {
$team_layout = $parallel['team-layout'];
register_sidebar( array(
'name' =>__( 'Homepage Team Section', 'parallel'),
'id' => 'team-widgets',
'description' => __( 'The OUR TEAM section which appears on the homepage. Drag and drop widgets titled [Parallel - Team Member Widget] here to add team members.', 'parallel' ),
'before_widget' => '',
'after_widget' => '
',
'before_title' => '',
'after_title' => '
',
) );
}
}
add_action( 'widgets_init', 'parallel_widgets_init' );