HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/themes/xts-luman/templates/header/burger.php
<?php
/**
 * Burger element template
 *
 * @package xts
 */

$extra_classes = '';
$icon_classes  = '';
$icon_type     = $params['icon_type'];

$extra_classes .= ' xts-style-' . $params['style'];

if ( 'custom' === $icon_type ) {
	$icon_classes .= ' xts-icon-custom';
}

if ( isset( $params['design'] ) ) {
	$extra_classes .= ' xts-design-' . $params['design'];
}

?>

<div class="xts-header-mobile-burger xts-header-el<?php echo esc_attr( $extra_classes ); ?>">
	<a href="#" rel="nofollow" aria-label="<?php esc_attr_e( 'Open mobile menu', 'xts-theme' ); ?>">
		<span class="xts-header-el-icon<?php echo esc_attr( $icon_classes ); ?>">
			<?php if ( 'custom' === $icon_type ) : ?>
				<?php echo xts_get_custom_icon( $params['custom_icon'] ); // phpcs:ignore ?>
			<?php endif; ?>
		</span>

		<span class="xts-header-el-label">
			<?php esc_html_e( 'Menu', 'xts-theme' ); ?>
		</span>
	</a>
</div>