=== Domain For Sale – Landing Pages, Offers & Inquiries ===
Contributors: themeatelier, faysal61, shshakib2001, tamimaziz
Tags: domain for sale, sell domain, domain landing page, domain parking, domain sales
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 3.4.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Create domain for sale landing pages, accept offers & inquiries, and manage domain sales from your WordPress dashboard.

== Description ==

**Domain For Sale** is a WordPress plugin that lets you create professional **domain for sale landing pages** and sell unused domains directly from your website. Accept offers and inquiries, manage negotiations, and handle domain sales entirely from your WordPress dashboard—without relying on third-party marketplaces.

With this plugin, you can showcase domains using customizable landing page templates and built-in offer forms. Buyers can submit offers or inquiries directly, while you manage all submissions from a centralized **offer management dashboard** inside WordPress. Perfect for domain investors who want full control over offers, negotiations, and buyer communication in one place.

Each offer includes detailed buyer information such as contact details, proposed amount, message, and submission context, helping you evaluate leads with confidence. Automatic email notifications keep both admins and buyers informed at every stage, with customizable templates for a professional sales experience.

Use the plugin as a full domain sale theme replacement or embed listings anywhere using shortcodes. It works with any WordPress theme and supports Gutenberg, Elementor, and popular page builders. Fully responsive layouts ensure your sale pages look great on all devices.

Designed for domain investors, agencies, and website owners, this tool offers a simple interface for beginners and flexible customization options for advanced users. Regular updates, multisite support, and clear documentation make it easy to manage multiple listings at scale.

Turn your unused domains into opportunities with **Domain For Sale** — a flexible WordPress plugin to sell domains with landing pages, offers, and inquiries.

**👁️[Plugin Demo](https://wpdomainforsale.com/#demo) | 🚀[Pro Version](https://wpdomainforsale.com/) | 📖[Documentation](https://wpdomainforsale.com/docs/) | 👩🏼‍💻[Support](https://wordpress.org/support/plugin/domain-for-sale/) | 🌟[Rate this plugin](https://wordpress.org/support/plugin/domain-for-sale/reviews/#new-post)**

== Video demo ==
[youtube https://youtu.be/jnYCZffVfDk]

== Key Features: ==

* **Domain Listing & Showcase** – Showcase multiple domains using elegant layouts with powerful customization options.

* **Landing Pages** – Create professional landing pages for individual domains. These pages can also be used as single pages when domains are displayed in listings.

* **Unlimited Templates** – Create and manage unlimited sale templates using a dedicated custom post type.

* **Bulk Import (CSV, XML, JSON)** – Upload multiple domains at once and manage large portfolios easily.

* **Flexible Display Options** – Use the plugin as a full theme replacement or embed sale pages anywhere using shortcodes.

* **Built-in Offer & Inquiry Form** – Allow buyers to submit offers and inquiries directly from your sale pages.

* **Centralized Offer Management Dashboard** – View, search, filter, and manage all incoming submissions from one place inside WordPress.

* **Detailed Offer & Buyer Information** – Each offer includes buyer name, email, phone number, proposal message, domain name, date, and submission context.

* **Automatic Admin Email Notifications** – Receive instant email notifications when a new offer or inquiry is submitted.

* **Bidder Confirmation Emails** – Automatically send confirmation emails to buyers after they submit an offer.

* **Customizable Email Templates** – Customize admin and bidder email subjects and messages using dynamic tags such as `{domain}`, `{name}`, `{email}`, `{phone}`, `{offer}`, `{proposal}`, `{date}`, `{siteTitle}`, `{currentURL}`.

* **Price Display Options** – Display prices using dynamic placeholders like `{price}` or `{{price}}`.

* **Currency Selection** – Choose your preferred currency for displaying prices.

* **Responsive & Mobile-Friendly Design** – Sale pages automatically adapt to desktops, tablets, and mobile devices.

* **Pre-Designed Layouts** – Choose from ready-made layouts to quickly launch professional pages.

* **Advanced Design Controls** – Customize container width, column spacing, background images, overlays, and color schemes without coding.

* **Typography Controls** – Control fonts, sizes, colors, line height, and text styles for names, titles, content, and forms.

* **Multiple Color Schemes** – Select from predefined color schemes to match your brand instantly.

* **Custom Contact Information Blocks** – Add multiple contact details such as email addresses and phone numbers with icons.

* **AJAX-Powered Forms** – Fast, smooth form submissions without page reloads.

* **Custom Success & Error Messages** – Customize form success messages, error messages, and button labels.

* **Custom CSS & JavaScript Panels** – Add your own CSS or JavaScript directly from the plugin settings.

* **SEO-Friendly Structure** – Clean markup and lightweight output designed to work well with SEO plugins.

* **Page Builder Compatibility** – Works seamlessly with Gutenberg, Elementor, Classic Editor, WPBakery, Divi, Beaver Builder, Bricks, Oxygen, and more.

* **Theme-Agnostic** – Compatible with all WordPress themes including Astra, Blocksy, Kadence, Neve, OceanWP, Avada, and Divi.

* **Multilingual & RTL Ready** – Translation-ready and compatible with WPML, Polylang, Loco Translate, and RTL languages.

* **Multisite Compatible** – Fully functional in WordPress Multisite environments.

* **Import & Export Domains (CSV, XML, JSON)** – Easily upload and download domain data in bulk.

* **Import & Export Listings (CSV, XML, JSON)** – Transfer and manage listing data across websites.

* **Settings Import & Export (JSON)** – Backup and restore plugin settings quickly.

* **No Coding Required** – Beginner-friendly UI—install, activate, create a template, and start receiving offers.

* **Developer-Friendly Architecture** – Clean, extensible codebase suitable for customization and advanced use cases.

* **Cross-Browser Compatibility** – Works smoothly on Chrome, Firefox, Safari, Edge, and Opera.

* **Comprehensive Documentation** – Step-by-step guides and tutorials for easy setup and usage.

* **Regular Updates & Active Support** – Ongoing improvements, security updates, and responsive support.

== Other plugins by ThemeAtelier ==

* [Darkify Dark Mode](https://wordpress.org/plugins/darkify/) - Lightweight, customizable WordPress dark mode plugin for a sleek, accessible, and eye-friendly experience.
* [WhatsApp Chat Help](https://wordpress.org/plugins/chat-help/) - A flexible WhatsApp chat plugin that helps website visitors start instant conversations with you directly from your site.
* [Eventful – Events Showcase and Filter Bar](https://wordpress.org/plugins/eventful/) - An event display plugin for The Events Calendar that helps you showcase events in clean, modern, responsive layouts.
* [Greet – Video Bubble Warm Welcome Plugin](https://wordpress.org/plugins/greet-bubble/) - A video welcome bubble plugin that helps you greet visitors warmly and provide quick contact options.
* [Eventful for Elementor](https://wordpress.org/plugins/eventful-for-elementor/) - An Elementor addon for The Events Calendar that lets you design and display events using Elementor widgets.
* [Better Chat Support For Messenger](https://wordpress.org/plugins/better-chat-support/) - A Facebook Messenger chat plugin that allows visitors to contact you instantly through Messenger.

== External services ==

This plugin connects to the following external services. Each service is described below, including what data is sent and when.

**ipwhois.app API**

We use the ipwhois.app API to detect visitor location to personalize the message and offer form on sale pages.

* Data sent: The visitor's IP address.
* Data received: Public geolocation information based on IP, such as country, city, timezone, ISP/organization, and approximate latitude/longitude.
* When: On page load when a Domain For Sale page is displayed to a visitor.
* Service provider: ipwhois.app — [Terms](https://ipwhois.io/terms) | [Privacy Policy](https://ipwhois.io/privacy)

Example response includes publicly available location data like country and city — no personal account information is collected.

**Appsero SDK**

Domain For Sale uses the [Appsero](https://appsero.com) SDK to collect basic telemetry data, but only after the user explicitly opts in via an admin notice.

* Data sent: Basic site and plugin telemetry (only after user confirmation).
* When: Only after the user explicitly allows it via the admin notice. The SDK does not gather any data by default.
* Service provider: Appsero — [Privacy Policy](https://appsero.com/privacy-policy/)

Integrating the Appsero SDK does NOT immediately start gathering data without user confirmation in any case.

== Installation ==
= AUTOMATIC INSTALLATION (EASIEST WAY) =

* Visit **Plugins > Add New**.
* Search for **Domain For Sale**.
* Install and activate the plugin.

= MANUAL INSTALLATION =

**Uploading in WordPress Dashboard**

* Download domain-for-sale.zip
* Navigate to the ‘Add New’ in the plugins dashboard
* Navigate to the ‘Upload’ area
* Select domain-for-sale.zip from your computer
* Click ‘Install Now’
* Activate the plugin in the Plugin dashboard

**Using FTP**

* Download domain-for-sale.zip
* Extract the domain-for-sale folder to your computer
* Upload the domain-for-sale folder to the /wp-content/plugins/ directory
* Activate the plugin in the Plugin dashboard

= After activation =
* Go 'Domain For Sale' Menu from the left panel of admin
* Configure settings as you want.

[For basic usage, have a look at the quick start guide](https://wpdomainforsale.com/docs/quick-start-guide/)

== Screenshots ==
1. Beautiful landing page with fixed price, contact form, and modern UI – sell domains directly without marketplace fees.
2. Showcase multiple domains in a responsive grid layout with logos, descriptions, and “View Details” buttons to increase engagement and conversions.
3. Clean list layout for listings – perfect for portfolio-style sales pages with clear information and easy navigation.
4. Manage all your domains from a centralized WordPress dashboard with shortcode support for embedding anywhere on your site.
5. Easily add a new domain with customizable templates, pricing options, and integrated proposal form.
6. Customize content, contact information, and messaging to match your branding and improve buyer trust.
7. Advanced styling options with pre-built color schemes, background images, and layout controls for a professional page.
8. Fine-tune typography including fonts, sizes, and colors to create a visually appealing and high-converting landing page.
9. Create and manage listing layouts (grid or list) with shortcode support for flexible display across your website.
10. Configure listing display settings including filters, sorting, pagination, and responsive column control.
11. Customize grid columns, spacing, shadows, and layout behavior for a polished and responsive listing experience.
12. Track and manage incoming offers with detailed buyer information, proposal messages, and quick actions.
13. Configure global plugin settings including currency, URL structure, and layout behavior for seamless management.
14. Export data and manage plugin tools for backup, migration, and streamlined workflow.

== Upgrade Notice ==

This update includes the latest features, bug fixes, and improvements.

== Frequently Asked Questions ==

= Who should use Domain For Sale? =
This plugin is ideal for domain owners, investors, agencies, and businesses who want to create a professional landing page and receive offers or inquiries directly through their WordPress website.

= Do I need coding skills to use this plugin? =
No coding skills are required. The plugin provides a user-friendly interface with visual controls and simple settings to create and manage sale pages.

= Is the plugin responsive? =
Yes. All layouts are fully responsive and automatically adapt to desktops, tablets, and mobile devices.

= Can I add a sale page anywhere on my website? =
Yes. You can display layouts using shortcodes, Gutenberg blocks, or Elementor widgets, allowing you to place them on any page or post.

= Can I create multiple sale layouts with different settings? =
Yes. You can create multiple layouts, each with its own design, content, and configuration options.

= Will it work with my WordPress theme? =
Yes. The plugin works with most modern WordPress themes that follow WordPress coding standards and does not rely on theme-specific functionality.

= How can buyers contact me about purchasing a domain? =
Interested buyers can submit offers or inquiries using the built-in form. All submissions are stored in the Offers section of the plugin, and email notifications can be enabled. You may also display your email address or phone number on the page for direct contact.

= Can I use this plugin for commercial purposes? =
Yes. The plugin is free to use for both personal and commercial projects.

= I configured everything correctly, but I am not receiving emails. Why? =
Some hosting providers restrict the default PHP mail function. To improve email delivery, we recommend using an SMTP plugin such as WP Mail SMTP or Fluent SMTP.

= Is it multilingual ready? =
Yes. The plugin is translation-ready and works with popular multilingual plugins such as WPML, Polylang, GTranslate, Loco Translate, and WPGlobus.

= Is it compatible with WordPress Multisite? =
Yes. The plugin is fully compatible with WordPress Multisite environments.

= How can I get support? =
You can ask questions or report issues in the official WordPress.org support forum:
https://wordpress.org/support/plugin/domain-for-sale/

= I have suggestions or feature requests. How can I share them? =
We welcome feedback and suggestions. You can share ideas or report bugs through the support forum. We actively review user feedback to improve the plugin.

= I want more features. Is there a Pro version available? =
Yes. A Pro version is available and includes additional features and enhancements. You can learn more on the official website:
https://wpdomainforsale.com/pricing/

== Changelog ==
= 3.4.1 - 7 May 2026 =
* Fixed: Critical bug in 3.3.0 migration that blanked domain_name when old key was absent — loop now skips keys that don't exist.
* Fixed: Recovery script restores domain_name from post_title for any template where domain_name was wiped by the 3.3.0 migration.

= 3.4.0 - 7 May 2026 =
* Added: React-based Dashboard page for the free version with live stat cards (Total Domains, Total Offers, Total Impressions, Domain Listings).
* Added: REST endpoint GET /domain-for-sale/v1/dashboard returning live plugin stats.
* Added: Pro upgrade preview section on the Dashboard with blurred analytics screenshot and upgrade CTA.
* Added: Domain view/impression tracking — creates wp_dfs_domain_views table and records views for shortcode, replace_theme, and singular dfs_template modes automatically.
* Fixed: Help page slug conflict — renamed internal slug from domain-for-sale to dfs-help so Dashboard and Get Help pages no longer collide.
* Improved: Admin submenu order — Dashboard, All Domains, Add New Domain, Domain Listing, Offers, Settings, Tools, Recommended, Lite vs Pro, Get Help.

= 3.3.2 - 30 April 2026 =
* Update: Refactored domain meta keys for improved consistency.
* Cleanup: Removed unnecessary files to reduce plugin size.

= 3.3.1 - 29 April 2026 =
* Update: Domain name meta key.

= 3.3.0 - 28 April 2026 =
* Added: Full CSV, XML, and JSON import/export support for Domains.
* Added: Full CSV, XML, and JSON import/export support for Listings.
* Improved: Enhanced conflict detection for more accurate import behavior.
* Updated: Settings backup import/export option moved under the Tools tab.

= 3.2.3 - 11 April 2026 =
* Fixed: Issue where textarea input containing emojis was not being saved in the database.

= 3.2.2 - 09 April 2026 =
* Added: Option to show or hide content under the listing domain.
* Added: Content length setting under the listing domain.
* Fixed: Domain extension filter issue.

= 3.2.1 – 14 March, 2026 =
* Fixed: Issue causing duplicate domain offers.
* Added: Conditional logic to hide the price tag when the sale price or starting price is not set.

= 3.2.0 - 11 March 2026 =
* Added: Domain Listing feature to showcase multiple domains.
* Added: Option to upload and display a Domain Logo.
* Added: Option to show or hide the Header and Footer on single domain pages.
* Added: Custom URL slug field for individual domain pages.
* Update: Reorganized domain settings into a new Domain Panel for improved usability.
* Update: Moved Currency setting to the General tab.

= 3.1.12 - 20 January 2026 =
* Updated: Plugins readme.

= 3.1.11 - 01 January 2026 =
* Added: Duplicate option for the Domain For Sale shortcode.
* Fixed: Removed externally hosted WebFont Loader script and replaced it with a self-hosted version to comply with Plugin Check requirements.
* Improved: Ensured all enqueued scripts are locally hosted for better privacy, reliability, and WordPress.org compatibility.
* Security: Ensured all data is properly sanitized, validated, and escaped.

= 3.1.10 - 21 December 2025 =
* Fixed: Minor coding issues.

= 3.1.9 - 08 December 2025 =
* Tested: WordPress 6.9 compatibility.
* Fixed: Export/import issues.
* Added: RTL (Right-to-Left) CSS support.

= 3.1.8 - 26 November 2025 =
* Fixed: PHP notice where `map_meta_cap()` was called before the `dfs_template` post type was registered.
* Updated: Admin panel UI for a more intuitive user experience.

= 3.1.7 - 24 November 2025 =
* Added: Tools export/import option.
* Fixed: Confirmation email delivery issue.
* Security: Improved data handling by ensuring all content is properly escaped.

= 3.1.6 - 13 November 2025 =
* Improved: Optimized database footprint.

= 3.1.5 - 12 November 2025 =
* Fixed: Critical Broken Access Control vulnerability in the REST API.
* Security: Ensured all data is properly sanitized, validated, and escaped.

= 3.1.4 - 31 October 2025 =
* Fixed: Missing `composer.json` file when using Composer.
* Fixed: Removed remote file calls and bundled required assets locally.
* Fixed: Internationalization issues (removed variables from text domain and context).
* Fixed: Updated text domain to match plugin slug.
* Updated: Replaced outdated SweetAlert script with a compliant version.
* Updated: Code improvements for compliance with the latest WordPress Plugin Review Guidelines.
* Security: Ensured all data is properly sanitized, validated, and escaped.
* Security: Escaped all variables and options before output.
* Added: Documentation for all external services used.

= 3.1.3 - 30 October 2025 =
* Added: New currency options: Pounds Sterling (GBP) and Canadian Dollars (CAD).
* Updated: Enhanced admin dashboard UI for managing offers and sales.
* Fixed: Offer currency symbol stored and retrieved incorrectly from the database.
* Fixed: Minor styling inconsistencies in the offer management table.
* Fixed: Tooltip alignment issues in the settings panel.
* Fixed: PHP warning caused by empty bidder email fields.

= 3.1.2 - 20 September 2025 =
* Added: Typography settings for the form title.
* Fixed: reCAPTCHA token being stored with form submissions.
* Fixed: Google Fonts loading issue.
* Fixed: Minor CSS issues in the admin panel.

= 3.1.1 - 13 September 2025 =
* Updated: Improved default option values for better usability.
* Fixed: Minor CSS issues in the admin panel.

= 3.1.0 - 10 September 2025 =
* Added: Price and Sale Price options in the domain layout.
* Added: `{price}` and `{{price}}` variables for use inside the Price Tag.
* Added: Offer Management to view, filter, and manage offers from the dashboard.
* Added: Currency settings in the options panel.
* Added: Phone Number field.
* Added: New email variables: `{phone}`, `{domain}`, `{offer}`, `{adminEmail}`.
* Added: Bidder confirmation emails on offer submission.
* Added: Demo and Docs links within fields for quick guidance.
* Added: Help and Video Tutorials tabs.
* Updated: Admin panel UI for improved usability.

= 3.0.13 - 31 July 2025 =
* Improved: Enforced a single “Replace Current Theme” template to prevent conflicts.
* Added: Apply with admin column option.
* Fixed: Form submission issues.
* Fixed: reCAPTCHA verification issues.
* Added: `{currentURL}`, `{siteTitle}`, `{currentTitle}` email variables.
* Added: Clean-up data on deletion option.
* Updated: Admin UI colors for improved readability.
* Added: Domain admin column.
* Updated: Layout post options for better usability.
* Fixed: Default layout not created on plugin activation.

= 3.0.12 - 04 July 2025 =
* Updated: Readme content.

= 3.0.11 - 04 June 2025 =
* Fixed: Data escaping issue.
* Fixed: Text domain warning.

= 3.0.10 - 29 May 2025 =
* Tested: WordPress 6.8.1 compatibility.

= 3.0.9 - 20 February 2025 =
* Added: Form validation.
* Tested: WordPress 6.7.2 compatibility.

= 3.0.8 - 25 June 2024 =
* Updated: Gutenberg block name.

= 3.0.7 - 01 June 2024 =
* Fixed: Text domain warning.

= 3.0.6 - 22 December 2024 =
* Fixed: Form submission issue.

= 3.0.5 - 15 December 2024 =
* Tested: WordPress 6.7.1 compatibility.

= 3.0.4 - 19 November 2024 =
* Tested: WordPress 6.7 compatibility.

= 3.0.3 - 29 October 2024 =
* Added: Gutenberg block support for embedding the shortcode.

= 3.0.2 - 21 October 2024 =
* Added: Elementor widget for displaying the Domain For Sale template shortcode.
* Fixed: PHP warning when saving templates.

= 3.0.1 - 19 October 2024 =
* Updated: Folder structure.

= 3.0.0 - 16 October 2024 =
* Added: DFS Template custom post type.
* Added: Template application options.
* Added: Custom container width setting.
* Added: Column gap customization.
* Added: Enhanced typography fields.
* Updated: Replaced Bootstrap CSS with custom CSS.
* Updated: Transitioned options panel to metabox-based settings.
* Updated: AJAX-based contact form submission.
* Updated: CSS structure overhaul for performance and maintainability.

= 2.0.5 - 24 September 2024 =
* Added: All icons from the Icofont library.
* Fixed: Checkmark icon not loading in the admin panel.
* Tested: WordPress 6.6.2 compatibility.

= 2.0.4 - 14 September 2024 =
* Updated: Plugin UI.

= 2.0.3 - 11 September 2024 =
* Fixed: Admin panel icon issue.
* Fixed: PHP 8.1.12 compatibility issue.
* Fixed: WordPress 6.6.1 compatibility issue.
* Added: Help area in the admin panel.

= 2.0.2 - 10 August 2024 =
* Added: New icon fonts.
* Fixed: Activation debug errors.

= 2.0.1 - 09 August 2024 =
* Fixed: PHP warning on activation.
* Fixed: PHP compatibility issues.

= 2.0.0 - 08 August 2024 =
* Updated: Code structure.
* Updated: Compatibility with the latest WordPress version.
* Updated: Compatibility with the latest PHP version.
* Updated: Plugin description.

= 1.5.2 =
* Updated: Default background handling to prevent disappearing issues in the Pro version.
* Added: Subtitle fields in the admin panel.
* Added: Pro version feature instructions in option fields.

= 1.5.1 =
* Tested: WordPress 6.5.4 compatibility.
* Updated: Removed banner advertising.
* Updated: Added plugin action and settings links.

= 1.4.17 =
* Added: Support for third-party contact form shortcodes.
* Added: Help text for selected fields.
* Tested: Compatibility with the latest WordPress and PHP versions.

= 1.4.16 =
* Fixed: Subject variable handling in email templates.
* Added: IP address variable for email templates.

= 1.4.15 =
* Added: Custom CSS option.
* Added: Custom JavaScript option.

= 1.4.14 =
* Fixed: CSS issues.

= 1.4.13 =
* Fixed: Compatibility issues.

= 1.4.12 =
* Updated: Refactored codebase from functional to class-based architecture.
* Tested: WordPress 6.4.1 compatibility.
* Added: Help page for users.

= 1.4.11 =
* Updated: Domain For Sale framework class to prevent plugin conflicts.

= 1.4.10 =
* Added: Missing translation strings.
* Added: Help page for easier access.
* Added: Redirection option after plugin activation.
* Fixed: PHP warning.
* Tested: WordPress 6.3.2 compatibility.

= 1.4.9 =
* Fixed: PHP warning.
* Tested: WordPress 6.3 compatibility.

= 1.4.8 =
* Updated: Default placeholder email template text.
* Added: New email tags `{subject}`, `{siteURL}`.
* Improved: Automatically populate domain name and admin email fields.

= 1.3.8 =
* Fixed: PHP and WordPress compatibility issues.

= 1.3.7 =
* Updated: Plugin content direction.

= 1.3.6 =
* Fixed: PHP and WordPress compatibility issues.

= 1.3.2 =
* Fixed: Responsive layout issues.
* Added: Turkish language file.

= 1.1.0 =
* Updated: Readme for guideline compliance.

= 1.0.0 =
* Initial release.