As you know, I am trying to have all static the content delivered from a different domain. For that I am using this in my wp-config.php:
define( 'WP_CONTENT_URL', 'http://example.com/wp-content' );
The problem is, this causes my sitemaps to go blank — the possible reason being the XSL sitemap stylesheet is being served from a different domain.
For this reason, I would like to "remove" the stylesheet in all my sitemaps, normall sitemaps and News sitemap.
I am not good with PHP (beginner), so it would be very helpful if you can help me with the function to add in my functions.php to disable the stylesheet from being referenced in sitemaps.
PS: I hope this is fine by you, as it also removes your credit.