// ──── Inyectar parent_terms (VE) ────
add_action('wp_footer', function() {
    if (strpos($_SERVER['REQUEST_URI'] ?? '', 'publish-vehicle') === false) return;
    if (!is_user_logged_in()) return;
    global $wpdb;
    $taxes = ['listivo_5663','listivo_945','listivo_946'];
    $map = [];
    foreach ($taxes as $tax) {
        $rows = $wpdb->get_results($wpdb->prepare(
            "SELECT t.term_id, tm.meta_value FROM {$wpdb->terms} t
             JOIN {$wpdb->term_taxonomy} tt ON tt.term_id = t.term_id
             LEFT JOIN {$wpdb->termmeta} tm ON tm.term_id = t.term_id AND tm.meta_key = 'parent_terms'
             WHERE tt.taxonomy = %s", $tax));
        foreach ($rows as $r) {
            $pt = $r->meta_value ? maybe_unserialize($r->meta_value) : [];
            if (is_array($pt)) $map[(int)$r->term_id] = array_map('intval', $pt);
        }
    }
    echo '<script>window.FC_TERM_PARENTS = ' . wp_json_encode($map) . ';</script>';
}, 998);

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//ve.fullcarro.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://ve.fullcarro.com/page-sitemap.xml</loc>
		<lastmod>2026-05-20T04:17:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ve.fullcarro.com/ciudad-sitemap.xml</loc>
		<lastmod>2026-05-14T01:29:44+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ve.fullcarro.com/tipo-sitemap.xml</loc>
		<lastmod>2026-05-11T19:20:02+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ve.fullcarro.com/compania-sitemap.xml</loc>
		<lastmod>2026-05-11T21:50:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ve.fullcarro.com/listivo_listing-sitemap.xml</loc>
		<lastmod>2026-05-18T20:29:58+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ve.fullcarro.com/author-sitemap.xml</loc>
		<lastmod>2026-05-19T11:52:29+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://ve.fullcarro.com/local-sitemap.xml</loc>
		<lastmod>2026-03-07T21:02:41+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->