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/palmetto_old/wp-content/themes/palmettomain/includes/sidebar-init.php
<?php
function elegance_widgets_init() {
	// 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>',
	));
	// Premium Services Widget
	// Location: home page
	register_sidebar(array(
		'name'					=> 'Premium Services',
		'id' 						=> 'premium-services',
		'description'   => __( 'Located at the main pages.'),
		'before_widget' => '<div id="%1$s" class="widget">',
		'after_widget' => '</div>',
		'before_title' => '<h3>',
		'after_title' => '</h3>',
	));
	// First Footer Widget Area
	// Location: at the top of the footer, above the copyright
	register_sidebar(array(
		'name'					=> 'First Footer Widget Area',
		'id' 						=> 'first-footer-widget-area',
		'description'   => __( 'Located at the bottom of pages.'),
		'before_widget' => '<div id="%1$s" class="widget-area">',
		'after_widget' => '</div>',
		'before_title' => '<h4>',
		'after_title' => '</h4>',
	));
	// Second Footer Widget Area
	// Location: at the top of the footer, above the copyright
	register_sidebar(array(
		'name'					=> 'Second Footer Widget Area',
		'id' 						=> 'second-footer-widget-area',
		'description'   => __( 'Located at the bottom of pages.'),
		'before_widget' => '<div id="%1$s" class="widget-area">',
		'after_widget' => '</div>',
		'before_title' => '<h4>',
		'after_title' => '</h4>',
	));
	// Third Footer Widget Area
	// Location: at the top of the footer, above the copyright
	register_sidebar(array(
		'name'					=> 'Third Footer Widget Area',
		'id' 						=> 'third-footer-widget-area',
		'description'   => __( 'Located at the bottom of pages.'),
		'before_widget' => '<div id="%1$s" class="widget-area">',
		'after_widget' => '</div>',
		'before_title' => '<h4>',
		'after_title' => '</h4>',
	));
	// Fourth Footer Widget Area
	// Location: at the top of the footer, above the copyright
	register_sidebar(array(
		'name'					=> 'Fourth Footer Widget Area',
		'id' 						=> 'fourth-footer-widget-area',
		'description'   => __( 'Located at the bottom of pages.'),
		'before_widget' => '<div id="%1$s" class="widget-area">',
		'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' );
?>