<?phpadd_filter('wp_is_application_passwords_available', '__return_true');

function loobek_child_register_scripts() {
	$parent_style = 'loobek-style';
	
	wp_enqueue_style(
	$parent_style,
	get_template_directory_uri() . '/style.css',
	array('font-awesome-5', 'loobek-reset'),
	loobek_get_theme_version()
	);
	
	wp_enqueue_style(
	'loobek-child-style',
	get_stylesheet_directory_uri() . '/style.css',
	array($parent_style),
	filemtime(get_stylesheet_directory() . '/style.css')
	);
	
	wp_enqueue_script(
	'loobek-child-fix-variation-quotes',
	get_stylesheet_directory_uri() . '/js/fix-variation-quotes.js',
	array('jquery', 'wc-add-to-cart-variation'),
	filemtime(get_stylesheet_directory() . '/js/fix-variation-quotes.js'),
	true);
}
add_action('wp_enqueue_scripts', 'loobek_child_register_scripts', 99);

add_action('wp_footer', function () {
	?>
<script>
(function ($) {
'use strict';

$(document).off('change', 'form.variations_form .variations select');

$(document).on('change', 'form.variations_form .variations select', function () {
var $select = $(this);
var val = $select.val();
var text = '';

if (val && val.length) {
var $match = $select.find('option').filter(function () {
return this.value === val;
});
text = $match.length ? $match.text() : '';
}

var $label = $select.parent().siblings('label');

if ($label.find('.selected-value').length) {
$label.find('.selected-value').text(text);
} else {
$label.append('<span class="selected-value">' + text + '</span>');
}
});
})(jQuery);
</script>
<?php}, 100);</script>
})
}<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://dopetraveler.com/wp-sitemap.xsl" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://dopetraveler.com/ts_footer_block/footer-drone-1/</loc><lastmod>2026-04-24T19:16:29+00:00</lastmod></url><url><loc>https://dopetraveler.com/ts_footer_block/footer-drone-2/</loc><lastmod>2026-03-24T07:04:30+00:00</lastmod></url><url><loc>https://dopetraveler.com/ts_footer_block/footer-drone-3/</loc><lastmod>2026-03-24T07:04:30+00:00</lastmod></url></urlset>
