// Kommentare nur für wiki deaktivieren
function disable_wiki_comments($open, $post_id) {
    $post = get_post($post_id);
    if ($post->post_type == 'wiki') {
        return false;
    }
    return $open;
}
add_filter('comments_open', 'disable_wiki_comments', 10, 2);

// Kommentar-Link im Frontend entfernen
function remove_wiki_comment_support() {
    remove_post_type_support('wiki', 'comments');
    remove_post_type_support('wiki', 'trackbacks');
}
add_action('init', 'remove_wiki_comment_support', 100);<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="https://bus-bahn-omni.de/sitemaps_xsl.xsl"?>
<sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://bus-bahn-omni.de/post-sitemap1.xml</loc>
<lastmod>2026-03-31T14:07:23+02:00</lastmod>
</sitemap>
<sitemap>
<loc>https://bus-bahn-omni.de/page-sitemap1.xml</loc>
<lastmod>2026-03-27T11:45:10+01:00</lastmod>
</sitemap>
<sitemap>
<loc>https://bus-bahn-omni.de/project-sitemap1.xml</loc>
<lastmod>2024-07-30T14:37:41+02:00</lastmod>
</sitemap>
<sitemap>
<loc>https://bus-bahn-omni.de/category-sitemap1.xml</loc>
</sitemap>
<sitemap>
<loc>https://bus-bahn-omni.de/post_tag-sitemap1.xml</loc>
</sitemap>
<sitemap>
<loc>https://bus-bahn-omni.de/project_category-sitemap1.xml</loc>
</sitemap>
<sitemap>
<loc>https://bus-bahn-omni.de/project_tag-sitemap1.xml</loc>
</sitemap>
<sitemap>
<loc>https://bus-bahn-omni.de/author.xml</loc>
</sitemap>
</sitemapindex>