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/wantglasses.co.uk/public_html/wp-content/themes/sg-window/sidebar-2-widget.php
<?php
/**
 * The sidebar containing the second widget area for the widget page
 *
 * @package WordPress
 * @subpackage sgwindow
 * @since SG Window 1.0.0
 */
  
global $sgwindow_curr_page_id;
$sgwindow_curr_slug = sgwindow_get_page_sidebar_slug( $sgwindow_curr_page_id );
$hook_name = 'sgwindow_empty_column_2-'.$sgwindow_curr_slug;

?>

<div class="sidebar-2">
	<div class="column small">		
		<div class="widget-area recurs">
		<?php if ( is_active_sidebar( 'column-2'.'-'.$sgwindow_curr_slug ) ) : ?>
		
				<?php dynamic_sidebar( 'column-2'.'-'.$sgwindow_curr_slug ); ?>

		<?php else : ?>

				<?php do_action( $hook_name ); ?>
		
		<?php endif; ?>
		</div><!-- .widget-area -->
	</div><!-- .column -->
</div><!-- .sidebar-2 -->