Ich habe den Code direkt in deine bestehende Struktur integriert. Ich habe ihn ans Ende gesetzt, kurz vor das schließende ?>, damit die Datei sauber strukturiert bleibt.

Hier ist die vollständige Version deiner functions.php:

PHP
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//www.turk-saat.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://www.turk-saat.com/page-sitemap.xml</loc>
		<lastmod>2026-02-26T13:23:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.turk-saat.com/product-sitemap.xml</loc>
		<lastmod>2026-03-09T15:56:19+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.turk-saat.com/product_cat-sitemap.xml</loc>
		<lastmod>2026-03-09T15:56:19+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.turk-saat.com/element_category-sitemap.xml</loc>
		<lastmod>2020-04-23T12:44:26+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->