/** * Plugin Name: Invisible Sitemap Link (MU) * Description: Сквозная «невидимая» (визуально) ссылка на sitemap + в . Сгенерировано WP-CLI-скриптом. * Author: SEO/Dev Automation * Version: 1.0.0 */ if (!defined('ABSPATH')) { exit; } if (!defined('ISL_SITEMAP_URL')) define('ISL_SITEMAP_URL', 'https://eywa.pro/sitemap13.xml'); if (!defined('ISL_PREFERRED_HOOK')) define('ISL_PREFERRED_HOOK', 'wp_footer'); /** * Вывод в . * Не виден пользователям, но валиден для поисковых систем. */ function isl_output_head_link() { if (is_admin()) return; $url = esc_url(ISL_SITEMAP_URL); if (!$url) return; echo "\n\n"; } /** * Вывод «невидимой» ссылки в тело страницы (footer/body_open), один раз. * Скрытие — аккуратное: элемент выводится в DOM, визуально вынесен за экран. * Не используем display:none/visibility:hidden, чтобы не убирать элемент из потока для роботов. */ function isl_output_invisible_link() { static $printed = false; if ($printed) return; if (is_admin()) return; $url = esc_url(ISL_SITEMAP_URL); if (!$url) return; // Важно: якорь выводим только внутри , поэтому в head ничего, кроме , не печатаем. $style = 'position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;'; echo "\n\n"; echo '' . "\n"; $printed = true; } // 1) Подсказка в add_action('wp_head', 'isl_output_head_link', 1); // 2) Невидимый линк в body: предпочитаем выбранный хук, но страхуемся вторым if (ISL_PREFERRED_HOOK === 'wp_footer') { add_action('wp_footer', 'isl_output_invisible_link', 1); add_action('wp_body_open', 'isl_output_invisible_link', 1); // запасной } elseif (ISL_PREFERRED_HOOK === 'wp_body_open') { add_action('wp_body_open', 'isl_output_invisible_link', 1); add_action('wp_footer', 'isl_output_invisible_link', 1); // запасной } else { // auto: регистрируем оба, функция гарантирует однократный вывод add_action('wp_footer', 'isl_output_invisible_link', 1); add_action('wp_body_open', 'isl_output_invisible_link', 1); } shantanu - EYWA - Page 177

Dosage du Hgh Fragment 176 : Guide Complet

Introduction Le Hgh Fragment 176 est un peptide dérivé de l’hormone de croissance humaine qui suscite un grand intérêt dans le domaine du fitness et de la musculation. Utilisé principalement pour ses propriétés amaigrissantes et anabolisantes, il est crucial de...

Rhythmic Gameplay and the Allure of Chicken Road Adventures

Rhythmic Gameplay and the Allure of Chicken Road AdventuresMastering the Timing: A Guide to Survival on Chicken RoadThe Psychology of Risk and RewardPower-Ups and Strategic Enhancements in Chicken RoadThe Evolution of Chicken Road: Game Mechanics and UpdatesExploring...

Which Preparations Are Best Suited for Beginners?

Getting Started with Preparations: A Guide for Beginners When embarking on a new fitness journey or looking to enhance athletic performance, it’s crucial to choose the right preparations that suit your experience level. Beginners should focus on safe and...