<?php\n/**
 * Fix: Revolution Slider hero on the homepage gets stuck on the loading spinner.
 * Root cause: revslider/public assets/js/rs6.min.js and rbtools.min.js are
 * enqueued by the RevSlider plugin itself with both defer and async, which lets
 * the browser execute them out of order / after inline slider-init code runs,
 * so the slider's internal ready-state promise never resolves and the loader
 * (rs-loader) never hides.
 * Fix: force these two specific scripts back to normal synchronous loading.
 */
add_filter('script_loader_tag', function($tag, $handle, $src) {
    if (strpos($src, 'revslider/public/assets/js/rs6.min.js') !== false || strpos($src, 'revslider/public/assets/js/rbtools.min.js') !== false) {
        $tag = str_replace(' defer', '', $tag);
        $tag = str_replace(' async', '', $tag);
    }
    return $tag;
}, 20, 3);
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://ghanshyamenterprise.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-posts-mailpoet_page-1.xml</loc></sitemap><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-taxonomies-product_cat-1.xml</loc></sitemap><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-taxonomies-product_tag-1.xml</loc></sitemap><sitemap><loc>https://ghanshyamenterprise.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
