}
add_action('add_meta_boxes', 'add_schema_meta_box');

// Display Meta Box with Existing + Add More
function display_schema_meta_box($post) {
    wp_nonce_field('save_schema_meta_box_nonce', 'schema_meta_box_nonce');

    $schema_data = get_post_meta($post->ID, '_schema_data', true);

    // If it's a string (old single field), convert to array
    if (!is_array($schema_data)) {
        $schema_data = [$schema_data];
    }
    ?>
    <div id="schema-repeater-wrapper">
            </div>

    <button type="button" id="add-schema" class="button">Add More Schema</button>

    <script>
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//www.gameerrors.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://www.gameerrors.com/post-sitemap.xml</loc>
		<lastmod>2026-05-15T06:14:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.gameerrors.com/page-sitemap.xml</loc>
		<lastmod>2025-03-24T09:46:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.gameerrors.com/category-sitemap.xml</loc>
		<lastmod>2026-05-15T06:14:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.gameerrors.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-05-15T06:14:18+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://www.gameerrors.com/author-sitemap.xml</loc>
		<lastmod>2024-07-25T22:40:37+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->