&amp;amp;lt;?php
add_action( &amp;amp;amp;#039;wp_enqueue_scripts&amp;amp;amp;#039;, &amp;amp;amp;#039;theme_enqueue_styles&amp;amp;amp;#039;, 1001 );
function theme_enqueue_styles() {
	etheme_child_styles();
}

/**
 * GA4 Tracking — Added by Revenue Daemon
 */
add_action(&amp;amp;#x27;wp_head&amp;amp;#x27;, function() {
    ?&amp;amp;gt;
    &amp;amp;lt;!-- GA4 --&amp;amp;gt;
    &amp;amp;lt;script async src=&amp;amp;quot;https://www.googletagmanager.com/gtag/js?id=G-BHT8T2X7Z5&amp;amp;quot;&amp;amp;gt;&amp;amp;lt;/script&amp;amp;gt;
    &amp;amp;lt;script&amp;amp;gt;
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag(&amp;amp;#x27;js&amp;amp;#x27;, new Date());
    gtag(&amp;amp;#x27;config&amp;amp;#x27;, &amp;amp;#x27;G-BHT8T2X7Z5&amp;amp;#x27;);
    &amp;amp;lt;/script&amp;amp;gt;
    &amp;amp;lt;?php
});


/**
 * Stripe Checkout Conversion Tracking
 */
add_action(&amp;#x27;wp_footer&amp;#x27;, function() {
    ?&amp;gt;
    &amp;lt;script&amp;gt;
    document.addEventListener(&amp;#x27;click&amp;#x27;, function(e) {
        // Track Stripe buy button clicks
        var btn = e.target.closest(&amp;#x27;a[href*=&amp;quot;buy.stripe.com&amp;quot;], button.stripe-button-el, .wc-stripe-checkout-button&amp;#x27;);
        if (btn) {
            gtag(&amp;#x27;event&amp;#x27;, &amp;#x27;stripe_checkout_click&amp;#x27;, {
                &amp;#x27;event_category&amp;#x27;: &amp;#x27;Stripe&amp;#x27;,
                &amp;#x27;event_label&amp;#x27;: &amp;#x27;Checkout Click&amp;#x27;
            });
        }
    });
    &amp;lt;/script&amp;gt;
    &amp;lt;?php
});

/**
 * WooCommerce — Redirect to Stripe Checkout for container homes
 */
add_filter(&amp;#x27;woocommerce_add_to_cart_redirect&amp;#x27;, function() {
    return wc_get_checkout_url();
});

/**
 * WooCommerce — Enable guest checkout
 */
add_filter(&amp;#x27;pre_option_woocommerce_enable_guest_checkout&amp;#x27;, function() {
    return &amp;#x27;yes&amp;#x27;;
});

/**
 * Add checkout link to all product pages
 */
add_action(&amp;#x27;woocommerce_after_add_to_cart_button&amp;#x27;, function() {
    global $product;
    if ($product) {
        echo &amp;#x27;&amp;lt;div style=&amp;quot;margin-top:10px&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;https://buy.stripe.com/6oE9CjdDv2hxg6McN38CT9f&amp;quot; class=&amp;quot;button alt&amp;quot; style=&amp;quot;width:100%;text-align:center;background:#7f54b3;color:white&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;Buy Now with Stripe&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;#x27;;
    }
});


add_action(&#x27;wp_body_open&#x27;, function() {
    if (is_front_page()) {
        echo &#x27;&lt;div style=&quot;background:linear-gradient(135deg,#7f54b3,#553399);color:white;text-align:center;padding:15px;font-size:16px;font-weight:bold&quot;&gt;&#x27;;
        echo &#x27;Ready to buy your container home? &lt;a href=&quot;https://buy.stripe.com/6oE9CjdDv2hxg6McN38CT9f&quot; style=&quot;color:#ffd700;text-decoration:underline&quot;&gt;Secure Deposit via Stripe →&lt;/a&gt;&#x27;;
        echo &#x27;&lt;/div&gt;&#x27;;
    }
});
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//atvworldwide.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://atvworldwide.com/post-sitemap.xml</loc>
		<lastmod>2026-07-05T01:19:45+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://atvworldwide.com/page-sitemap.xml</loc>
		<lastmod>2026-07-08T04:11:37+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://atvworldwide.com/staticblocks-sitemap.xml</loc>
		<lastmod>2024-06-22T22:23:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://atvworldwide.com/product-sitemap.xml</loc>
		<lastmod>2026-07-04T01:33:19+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://atvworldwide.com/category-sitemap.xml</loc>
		<lastmod>2026-07-05T01:19:45+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://atvworldwide.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-07-04T06:49:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://atvworldwide.com/product_cat-sitemap.xml</loc>
		<lastmod>2026-07-04T01:33:19+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://atvworldwide.com/author-sitemap.xml</loc>
		<lastmod>2025-07-31T01:49:03+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->