=== Welcomify - Custom Welcome Dashboard ===
Contributors: theumair07
Tags: dashboard, welcome panel, elementor, gutenberg, page builder
Requires at least: 5.2
Tested up to: 6.9.1
Requires PHP: 7.4
Stable tag: 1.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Transform the boring WordPress dashboard into a beautiful design experience. Compatible with any page builder.

== Description ==

**Welcomify** allows you to replace the default WordPress welcome panel with any page you create using your favorite page builder - Elementor, Gutenberg, Bricks, Divi, and more.

= Key Features =

* **Role-Based Dashboards** - Assign different welcome pages for each user role (Administrator, Editor, Author, Contributor, Subscriber)
* **Page Builder Compatible** - Works with Elementor, Gutenberg, Bricks, Divi, Beaver Builder, Breakdance, and more
* **Dismissible Option** - Allow users to dismiss the welcome panel if desired
* **Clean Embed** - Pages are displayed cleanly without headers, footers, or sidebars
* **Multisite Support** - Full support for WordPress multisite networks
* **Lightweight** - No bloat, just the features you need
* **Translation Ready** - Fully internationalized and ready for translation

= Use Cases =

* Create a branded onboarding experience for new users
* Display important announcements to specific user roles
* Show quick-start guides for content creators
* Present analytics dashboards to administrators
* Welcome clients with custom messages

= How It Works =

1. Create any WordPress page using your preferred page builder
2. Click on **Welcomify** in the admin menu
3. Assign pages to each user role
4. Done! Users will see your custom page on their dashboard

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` directory
2. Activate the plugin through the **Plugins** menu in WordPress
3. Go to **Welcomify** main menu to configure
4. Select a page created with any page builder and assign it to user roles

== Frequently Asked Questions ==

= Does this plugin require Elementor? =

No! While Elementor is fully supported, you can use any page builder or the default WordPress Block Editor (Gutenberg).

= Can I show different pages to different user roles? =

Yes! This is the core feature. You can assign a unique page to each user role.

= Will this work with my theme? =

Yes, the plugin embeds your page content in an iframe, so it works independently of your theme.

= Is multisite supported? =

Yes, full multisite support is included. You can even hide settings from subsites if needed.

= Can users dismiss the welcome panel? =

Yes, you can enable/disable the dismissible option for each user role individually.

= Can I use Elementor or Bricks templates directly? =

Yes! For Elementor and Bricks, you can select saved templates directly from the Template Library sections without creating a separate page.

= What happens if I delete an assigned page? =

The plugin automatically detects deleted pages and falls back to the default WordPress welcome panel. No broken dashboards!

= Can I use draft or private pages? =

Yes, you can use pages with any status (published, draft, or private). This is useful for creating welcome pages that won't be indexed by search engines.

== Screenshots ==

1. **Admin Settings Panel** - Easily configure which page to show for each user role from a clean, modern interface.
2. **Page & Template Selection** - Support for Elementor templates, Gutenberg pages, and standard WordPress pages.
3. **Custom Welcome Dashboard** - A completely transformed dashboard experience for your users with key actions and resources.

== Changelog ==

= 1.4.0 =
* New modern dropdown UI with keyboard navigation support
* Renamed "Dashboard" submenu label to "Settings" for clarity
* Added Elementor Templates and Bricks Templates sections for template-based builders
* Added Divi, Beaver Builder, and Breakdance page support in Pages section
* Smart builder detection - labels only show when the builder plugin is active
* Improved deleted page handling - automatically falls back to default WordPress welcome
* Fixed layout with centered dropdown for consistent UI

= 1.3.3 =
* Added PRO addon compatibility hooks
* Added filter 'umy_wdw_settings_title' for title override
* Added action 'umy_wdw_pro_template_library' for PRO template handling
* Added PRO badge to Template Library submenu
* Template Library now shows as PRO feature

= 1.3.2 =
* Fixed menu icon not displaying
* Fixed template library page blank issue (images not loading on WP.org)
* Renamed image files to use hyphens instead of spaces for better URL compatibility

= 1.3.1 =
* Fixed missing menu icon issue on some admin themes
* Fixed blank template library page issue

= 1.3.0 =
* Moved plugin settings to a top-level admin menu for better accessibility
* Added Template Library page with Upgrade to Pro option
* Added compatibility detection for Bricks, Divi, Beaver Builder, Oxygen, and Breakdance
* Improved admin UI with modern design elements

= 1.2.0 =
* Fixed white space flickering when closing accordions or dynamic content in the embedded page
* Improved iframe height detection using requestAnimationFrame for smoother updates
* Added direct file access protection to uninstall.php

= 1.1.0 =
* Fixed links opening inside the embedded iframe instead of navigating the main window
* Links now correctly open in the parent window for proper navigation

= 1.0.0 =
* Initial release
* Role-based dashboard pages
* Elementor, Gutenberg, Divi, Bricks Builder, Beaver Builder, Oxygen, and Breakdance support
* Multisite support
* Dismissible option per role
* Translation ready

== Upgrade Notice ==

= 1.4.0 =
New dropdown UI, Elementor & Bricks template support, and improved builder detection.

= 1.3.2 =
Fixed menu icon and template library images not displaying.

= 1.3.1 =
Fixed missing menu icon and blank template library page issues.

= 1.3.0 =
New top-level menu, Template Library page, and expanded page builder support.

= 1.2.0 =
Improved iframe responsiveness - closes and opens accordions smoothly without white space flicker.

= 1.0.0 =
Initial release of Welcomify.
