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: //old_home_backup/hipassociation.co.uk/public_html/wp-content/themes/anima/sidebar-left.php
<?php
/**
 * The Sidebar that is normally displayed on the left side (Primary).
 *
 * @package Anima
 */
?>

<?php if ( is_active_sidebar( 'sidebar-2' ) || has_nav_menu( 'sidebar' ) || current_user_can( 'edit_theme_options' ) ): ?>
<aside id="primary" class="widget-area sidey" role="complementary" <?php cryout_schema_microdata( 'sidebar' );?>>
	<?php cryout_before_primary_widgets_hook(); ?>

	<?php if ( is_active_sidebar( 'sidebar-2' ) ):
				dynamic_sidebar( 'sidebar-2' );
			else:
  			  if ( current_user_can( 'edit_theme_options' ) && ! has_nav_menu( 'sidebar' ) ) { ?>
  				<section class="widget-container widget-placeholder">
  					<h3 class="widget-title"><?php _e( 'Left Sidebar', 'anima' ); ?></h3>
  					<p>
  						<?php
  								printf( __( 'You currently have no widgets set in this sidebar. You can add widgets via the <a href="%s">Dashboard</a>.', 'anima' ), esc_url( admin_url() . "widgets.php" ) ); echo "<br/>";
  								printf( __( 'To hide this sidebar, switch to a different Layout via the <a href="%s">Theme Customizations</a>.', 'anima' ), esc_url( admin_url() . "customize.php" ) );
  						?>
  					</p>
  				</section>
  			<?php }

  		endif; ?>

	<?php cryout_after_primary_widgets_hook(); ?>
</aside>
<?php endif;