<?php

$classes = '';

if ( 'publish' === $status ) {
	$classes .= ' std-active';
}
?>


<div class="std-switcher-btn<?php echo esc_attr( $classes ); ?>" data-id="<?php echo esc_attr( $post_id ); ?>" data-status="<?php echo esc_attr( $status ); ?>">
	<div class="std-switcher-dot-wrap">
		<div class="std-switcher-dot"></div>
	</div>
	<div class="std-switcher-labels">
		<span class="std-switcher-label std-on">
			<?php esc_html_e( 'فعال', 'studiare' ); ?>
		</span>

		<span class="std-switcher-label std-off">
			<?php esc_html_e( 'غیرفعال', 'studiare' ); ?>
		</span>
	</div>
</div>
