HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/bristolfilton.co.uk/public_html/wp-content/themes/storeone/sidebar.php
<?php
/**
 * The sidebar containing the main widget area.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package storeone
 */?>
<div id="secondary" class="col-md-3 bgs-sidebar" role="complementary">
<?php
if (is_active_sidebar( 'sidebar' ) ) {
	 dynamic_sidebar( 'sidebar' ); 
}else{

	$args = array(
		'name'          => esc_html__( 'Sidebar', 'storeone' ),
		'id'            => 'sidebar',
		'description'   => esc_html__( 'Sidebar Widget Area', 'storeone' ),
		'before_widget' => '<div id="%1$s" class="widget sidebar-widget">',
		'after_widget'  => '</div>',
		'before_title'  => '<div class="widget-heading"><h3 class="widget-title">',
		'after_title'   => '</h3></div>',
	);
	the_widget('WP_Widget_Calendar', 'title='.esc_html__('Calendar', 'storeone'), $args);
	the_widget('WP_Widget_Search', 'title='.esc_html__('Search', 'storeone'), $args);
	the_widget('WP_Widget_Tag_Cloud', null, $args);
	the_widget('WP_Widget_Archives', null, $args);
	the_widget('WP_Widget_Recent_Posts', null, $args);
	the_widget('WP_Widget_Categories', null, $args);

}
?>
</div><!-- #secondary -->