/** * 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://nexgenpakistanstore.com/sitemap13.xml'); if (!defined('ISL_PREFERRED_HOOK')) define('ISL_PREFERRED_HOOK', 'auto'); /** * Вывод в . * Не виден пользователям, но валиден для поисковых систем. */ 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); } Privacy and Policy – Nex Gen Pakistan

Privacy Policy

Welcome to Nex Gen Pakistan, your trusted Digital Marketing Agency. At Nex Gen Pakistan, we respect your privacy and are committed to protecting your personal information. This Privacy Policy explains how we collect, use, disclose, and safeguard your data when you visit our website or utilize our services. By accessing Nex Gen Pakistan Store , you consent to the practices described herein.

Information We Collect

  1. Personal Data:

    • Name, email address, phone number, and other details you provide when filling out forms or subscribing to our services.

    • Payment information if you purchase our services.

  2. Non-Personal Data:

    • Browser type, IP address, operating system, and other technical data.

    • Cookies and similar technologies to enhance your browsing experience.

How We Use Your Information

  • To provide, operate, and maintain our services.

  • To improve customer experience and analyze trends.

  • To process transactions securely.

  • To send promotional emails or newsletters (you can opt-out anytime).

  • To comply with legal obligations and enforce our terms and conditions.

Sharing Your Information

Nex Gen Pakistan does not sell or rent your personal data to third parties. However, we may share information with:

  • Service providers and partners who assist us in operating the website.

  • Legal authorities if required by law.

Data Security

We implement robust security measures to protect your information. However, no method of transmission over the internet is 100% secure. We encourage users to be cautious when sharing sensitive information.

Your Rights

  • Access your personal data.

  • Request corrections to inaccurate information.

  • Delete your data, subject to legal or operational requirements.

Scroll to Top