=== Negahnama ===
Tags: maintenance, coming soon, rtl
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A simple maintenance or coming soon page with Persian translation and fifteen layouts.

== Description ==

Negahnama displays a theme-independent page to visitors, with fifteen responsive designs, optional images, telephone and social profile links, a countdown and published page exemptions. Enter the telephone number or profile ID; links are created automatically. LinkedIn uses a personal profile ID and YouTube uses a handle. Previously saved links remain supported. The site administrator can preview saved settings before enabling it and see the current status in the WordPress toolbar. Maintenance responds with HTTP 503; coming soon responds with HTTP 200. The countdown does not switch the page off.

Logo and text alignment can be set independently. Optional CSS motion is disabled when the visitor requests reduced motion and does not require an external library. Continuous motion has a pause control and remains static without JavaScript.

The page has optional footer text, browser title, meta description, canonical URL and search visibility settings. Preview is always noindex. Search engines decide whether to index a page; a 503 response indicates temporary maintenance.

Full Free

= معرفی نگه‌نما =

با نگه‌نما، زمانی که سایت در حال آماده‌سازی یا به‌روزرسانی است، به‌جای نمایش صفحات ناتمام، یک صفحه زیبا و هماهنگ با نیاز خود به بازدیدکنندگان نشان دهید.

نگه‌نما مستقل از قالب سایت کار می‌کند و با ۱۵ طرح واکنش‌گرا، امکان ساخت صفحه «در دست تعمیر» یا «به‌زودی» را در اختیارتان قرار می‌دهد.

= امکانات نگه‌نما =

* انتخاب از میان ۱۵ طرح واکنش‌گرا
* افزودن تصویر، شماره تلفن و لینک شبکه‌های اجتماعی به‌صورت دلخواه
* ساخت خودکار لینک‌ها با وارد کردن شماره تلفن یا شناسه پروفایل
* نمایش شمارش معکوس
* مستثنا کردن صفحات منتشرشده دلخواه از صفحه نگه‌نما
* پیش‌نمایش تنظیمات ذخیره‌شده پیش از فعال‌سازی
* مشاهده وضعیت افزونه در نوار ابزار وردپرس
* تنظیم جداگانه چینش لوگو و متن
* افزودن متن پاورقی، عنوان مرورگر و توضیحات متا
* تنظیم نشانی کانونی (Canonical URL) و قابلیت دیده‌شدن در موتورهای جست‌وجو
* استفاده از جلوه‌های حرکتی اختیاری، بدون نیاز به کتابخانه خارجی
* کاملا رایگان

برای لینکدین از شناسه پروفایل شخصی و برای یوتیوب از شناسه کاربری (handle) استفاده می‌شود. لینک‌هایی که قبلاً ذخیره کرده‌اید نیز همچنان پشتیبانی می‌شوند.

= نکات مهم =

* در حالت تعمیرات، صفحه با کد HTTP 503 و در حالت به‌زودی با کد HTTP 200 پاسخ می‌دهد.
* پایان شمارش معکوس به‌صورت خودکار صفحه را غیرفعال نمی‌کند.
* صفحه پیش‌نمایش همیشه با دستور noindex نمایش داده می‌شود. تصمیم نهایی درباره نمایه‌سازی صفحات بر عهده موتورهای جست‌وجو است.
* جلوه‌های حرکتی برای بازدیدکنندگانی که کاهش حرکت را در تنظیمات دستگاه خود انتخاب کرده‌اند، غیرفعال می‌شوند. حرکت‌های مداوم نیز دکمه توقف دارند.

== Installation ==

1. Upload the negahnama folder to wp-content/plugins or install the ZIP through Plugins > Add New.
2. Activate the plugin and open Settings > Negahnama.
3. Save your content, preview the saved settings, then enable the page. Clear all page, server and CDN caches.

== Frequently Asked Questions ==

= How does language selection work? =

The interface uses English source text and includes a Persian translation. WordPress chooses the dashboard language from the user's profile and the public page language from the site settings. Leave the title and description empty to use the translated defaults. Saved custom text, including SEO and footer text, is displayed as entered and is not translated automatically.

= Which requests are covered? =

Normal front-end requests reaching template_redirect, including feeds, show the page unless an administrator or an exempt published page is requested. Login and admin pages remain available. REST API, AJAX, XML-RPC, WP-Cron and WP-CLI are allowed through for compatibility. Some endpoints, including sitemaps, webhooks, other plugin routes and requests handled before WordPress, may bypass this page. Other plugins can also expose content through APIs. This plugin is not an access control or privacy solution; secure sensitive content separately.

= Does it stop a store or payments? =

No. Hiding pages does not necessarily stop orders, payments, background tasks or webhooks. Test your own WooCommerce, payment provider and integrations before use.

When WooCommerce is active, individual exceptions for the shop archive, published products, cart, checkout and account pages are available. Exceptions are off by default and make the selected pages publicly accessible. These options do not suspend orders, payments, APIs or webhooks. Other extensions, caching, custom checkout flows and block-based stores may behave differently; test your own setup. Previously selected exceptions are retained when WooCommerce is inactive.

= Does it clear caches? =

No. The plugin sends no-cache headers and defines DONOTCACHEPAGE for its response, but caches, proxies and CDNs can serve stale content before WordPress runs or ignore those instructions. Configure and purge them separately when enabling or disabling the page. Preview requires an administrator and a nonce and is marked non-cacheable, but cache configurations must still be checked.

= How is the end time used? =

It uses the WordPress site time zone. A valid future end time provides Retry-After in maintenance mode. The optional countdown is only visual. An invalid or past date is not displayed, and reaching zero does not change the status.

= What happens when I uninstall? =

Settings are retained unless you explicitly select deletion in the settings. Media library files are never removed. Multisite and multilingual compatibility have not been verified.

= Which font is used? =

Vazirmatn is served locally in the plugin settings and public page, with a system font as a fallback. The included variable font is Vazirmatn v33.003 by the Vazirmatn Project Authors, distributed under SIL Open Font License 1.1; see assets/fonts/OFL.txt and assets/fonts/README.txt for the license and source.

== Changelog ==

= 1.5.6 =
* Match the text domain to the directory slug and enqueue toolbar styles.

= 1.5.5 =
* Scope the public template and uninstall variables for compatibility with plugin checks.

= 1.5.4 =
* Test the maintenance page and Persian translation with WordPress 7.1.

= 1.5.3 =
* Match the translation domain to the plugin slug and enqueue public assets through WordPress.

= 1.5.2 =
* Clarify language selection and improve the settings layout for left-to-right languages.

= 1.5.1 =
* Remember open settings sections in the current browser tab after saving.

= 1.5.0 =
* Organize settings, clarify search directives, and add designs and pausable motion.

= 1.4.0 =
* Add search settings, optional footer, more designs and motion choices, and optional WooCommerce page exceptions.

= 1.3.0 =
* Add independent logo and text alignment and optional reduced-motion-aware visual effects.

= 1.2.0 =
* Improve notices, contact inputs, typography and designs.

= 1.1.0 =
* Improve responsive layouts, countdown direction, settings design and toolbar access.

= 1.0.1 =
* Bundle Vazirmatn locally and add a system font option.

= 1.0.0 =
* Initial release.
