Negahnama

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.

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.

FAQ

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.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Negahnama” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Negahnama” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

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.