HEX
Server: Apache/2.4.54 (Debian)
System: Linux f988254d8f22 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:03:14 UTC 2 x86_64
User: (1000)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/hitmag-pro/sidebar.php
<?php
/**
 * The sidebar containing the main widget area
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package HitMag Pro
 */

$hitmag_pro_sidebar_layout = hitmag_pro_get_layout();

if ( $hitmag_pro_sidebar_layout == 'th-content-centered' || $hitmag_pro_sidebar_layout == 'th-no-sidebar' ) {
	return;
}

?>

<aside id="secondary" class="widget-area" role="complementary">

	<div class="theiaStickySidebar">

		<?php do_action( 'hitmag_before_sidebar' ); ?>

		<?php dynamic_sidebar( 'sidebar-1' ); ?>

		<?php do_action( 'hitmag_after_sidebar' ); ?>
	</div>

</aside><!-- #secondary -->