HEX
Server: Apache
System: Linux p3plzcpnl489499.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: dwauav0tm6jp (6177017)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/dwauav0tm6jp/hosted/gazzocpa_com/wp-content/themes/theme1429/includes/sidebar-init.php
<?php
function elegance_widgets_init() {
	
	// Header Area
	// Location: right before the navigation
	register_sidebar(array(
		'name'					=> 'Header Area',
		'id' 						=> 'header-sidebar',
		'description'   => __( 'Located at the top of pages.'),
		'before_widget' => '<div id="%1$s" class="widget-header">',
		'after_widget' => '</div>',
		'before_title' => '<div class="title">',
		'after_title' => '</div>',
	));
	
	// Content Area 1
	// Location: at the top of the content
	register_sidebar(array(
		'name'					=> 'Content Area 1',
		'id' 						=> 'content-area-1',
		'description'   => __( 'Located at the top of the content.'),
		'before_widget' => '<div id="%1$s">',
		'after_widget' => '</div>',
		'before_title' => '<h2>',
		'after_title' => '</h2>',
	));
	
	// Content Area 2
	// Location: at the bottom of the content
	register_sidebar(array(
		'name'					=> 'Content Area 2',
		'id' 						=> 'content-area-2',
		'description'   => __( 'Located at the bottom of the content.'),
		'before_widget' => '<div id="%1$s">',
		'after_widget' => '</div>',
		'before_title' => '<h1>',
		'after_title' => '</h1>',
	));
	
	// Content Area 3
	// Location: at the bottom of the content
	register_sidebar(array(
		'name'					=> 'Content Area 3',
		'id' 						=> 'content-area-3',
		'description'   => __( 'Located at the bottom of the content.'),
		'before_widget' => '<div id="%1$s">',
		'after_widget' => '</div>',
		'before_title' => '<h1>',
		'after_title' => '</h1>',
	));
	
	// Secondary content
	// Location: at the bottom of the content
	register_sidebar(array(
		'name'					=> 'Secondary content',
		'id' 						=> 'secondary-content',
		'description'   => __( 'Located at the bottom of the content.'),
		'before_widget' => '<div id="%1$s">',
		'after_widget' => '</div>',
		'before_title' => '<h1>',
		'after_title' => '</h1>',
	));
	
	// Sidebar Widget
	// Location: the sidebar
	register_sidebar(array(
		'name'					=> 'Sidebar',
		'id' 						=> 'main-sidebar',
		'description'   => __( 'Located at the right side of pages.'),
		'before_widget' => '<div id="%1$s" class="widget">',
		'after_widget' => '</div>',
		'before_title' => '<h3>',
		'after_title' => '</h3>',
	));
	
	// Footer Area 1
	// Location: at the bottom of pages
	register_sidebar(array(
		'name'					=> 'Footer Area 1',
		'id' 						=> 'footer-area-1',
		'description'   => __( 'Located at the bottom of pages.'),
		'before_widget' => '<div id="%1$s">',
		'after_widget' => '</div>',
		'before_title' => '<h4>',
		'after_title' => '</h4>',
	));
	
	// Footer Area 2
	// Location: at the bottom of pages
	register_sidebar(array(
		'name'					=> 'Footer Area 2',
		'id' 						=> 'footer-area-2',
		'description'   => __( 'Located at the bottom of pages.'),
		'before_widget' => '<div id="%1$s">',
		'after_widget' => '</div>',
		'before_title' => '<h4>',
		'after_title' => '</h4>',
	));

}
/** Register sidebars by running elegance_widgets_init() on the widgets_init hook. */
add_action( 'widgets_init', 'elegance_widgets_init' );
?>