<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

$current_page = esc_attr($args['page']);

?>

<div class="newsx-sidebar widget-area secondary <?php echo 'newsx-'. esc_attr($current_page) .'-sidebar'; ?>">
    <?php newsx_dynamic_sidebar( $current_page .'-left-sidebar' ); ?>
</div>