=== Webdeyeral Dashboard Customizer ===
Contributors: webdeyeral
Tags: admin menu editor, custom login, maintenance mode, media folders, white label
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.34
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Clean up the WordPress admin for your clients: menu and toolbar editor, content tree, branded login page, maintenance mode and WebP images.

== Description ==

WP Dashboard Customizer brings the tools you usually install as separate plugins into one settings screen. Every switch has a short note that explains what it does.

= Dashboard =
* Hide any dashboard widget, including widgets added by other plugins.
* Add your own welcome box, at the top of the dashboard or as a widget.
* Content Tree widget: see your pages and posts as a tree right on the dashboard.
* Tree View screen: drag and drop pages to change their parent and order, and add sub-pages in place.

= Admin Menu Editor =
* Hide, rename and reorder admin menu items and their submenus.
* Block direct access to hidden pages, so a hidden page cannot be opened by typing its address.

= Toolbar =
* Hide toolbar items (WordPress logo, comments, New, and items added by plugins).
* Add your own links, on the left or on the right.
* Change the "Howdy" greeting.
* Hide the toolbar on the front end for chosen roles.

= Login Page =
* Your logo, colors, background image and button style.
* Three ready-made templates: Light, Dark and Gradient.

= Visitor Counter =
* Counts daily visitors and page views, including pages served from a cache. Search engine bots are not counted.
* Dashboard widget with a 14-day chart and Today, Yesterday, Last 7 Days, Last 30 Days and All Time totals.
* Choose whether logged-in users are counted and which roles see the widget.
* Only daily totals are stored: no IP address or personal data.

= Email (SMTP) =
* Send the site's emails through your own SMTP server, with SSL/TLS and authentication.
* Email log: search, filter by status and date, view, resend and delete; automatic cleanup after 7 days to 1 year.
* Test email screen, email simulation and a plain text alternative for HTML emails.
* Dashboard widget with Today, Last 7 Days and All Time totals.
* Passwords are encrypted with your WordPress salt keys.

= Maintenance Mode =
* Maintenance (503, search engines come back later) or Coming Soon (noindex).
* Title, message, logo, background and colors, with a preview.
* Choose which roles see the real site. A red toolbar notice reminds you that the mode is on.

= Appearance =
* Admin color presets or your own colors.
* Your own footer text and version text.
* Hide the Screen Options and Help tabs.
* Remove "— WordPress" from the browser tab title.

= Media =
* Convert uploaded JPEG and PNG images to WebP.

= Duplicate Content =
* One-click copy of posts, pages and custom post types, from the list, with a bulk action or from the toolbar while editing.
* Elementor designs are copied exactly as they are, with custom fields, categories, tags and the featured image.
* The copy's address ends with "-dupe" and it is saved as a draft by default.
* Choose the content types where the Duplicate link appears.

= Tools =
* Export your settings to a file and import them on another site.
* Reset one module or everything.

= Pro and Agency =
Pro (1 site) and Agency (500 sites) add a custom login address, limited login attempts, media library categories with drag and drop, role and user based menus, Quick Access Cards, more login templates, login log, IP lists, CAPTCHA (ALTCHA, reCAPTCHA, Turnstile), two-factor login, maintenance countdown and schedule, sub-categories and colors for media, ordering for every post type, email sending through Mailgun, SendGrid, Brevo, Google Workspace and Microsoft 365 with sending statistics, and White Label. See https://webdeyeral.com/urunler/dashboard-customizer-pro/

= Safe Mode =
If a setting hides something you need, open any admin page with `?wddc_safe=1` added to the address. Administrators then see the normal admin while they fix the setting.

If you lock yourself out with the custom login address, add `define( 'WDDC_DISABLE_LOGIN_URL', true );` to wp-config.php. The normal wp-login.php address then works again.

== External services ==

This plugin does not contact any outside service on its own.

1. **Webdeyeral products list.** The "Webdeyeral Plugins" panel on the settings screen shows a list of our other plugins that ships inside this plugin; no request is made to show it. A site owner can opt in to the current list from webdeyeral.com with `add_filter( 'webdeyeral_urunler_remote', '__return_true' );`. Then the plugin reads https://webdeyeral.com/wp-json/webdeyeral/v1/urunler at most twice a day when an administrator opens the screen, with a plain GET request that sends no site or user data. Privacy policy: https://webdeyeral.com/gizlilik-politikamiz/

2. **Feedback form.** Only when you write a message, tick the consent box and press Send, your message, e-mail address, site address and the WordPress, PHP and plugin versions are e-mailed to Webdeyeral support (bilgi@webdeyeral.net) through your site's own e-mail setup (wp_mail). Privacy policy: https://webdeyeral.com/gizlilik-politikamiz/

3. **Email (SMTP).** Only after you add an "Other SMTP" connection, the emails your site sends go to the SMTP server you enter (host, port, username and password you provide), to be delivered to their recipients. Nothing is sent to Webdeyeral.

4. **Email (SMTP) > Connection Test.** Only when you press Start Test, this server opens connections to the mail server address you enter (ports 25, 465, 587 and 2525) and, if the box is ticked, to well-known email services (Gmail, Microsoft 365, Yandex, Brevo, Mailgun, SendGrid, Amazon SES, Postmark, Mailjet, SparkPost, Elastic Email, Resend) to see whether they answer. It only reads their greeting and the features they offer, then closes the connection; no email, login or site data is sent.

No other data leaves your site.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install it from Plugins > Add New.
2. Activate it.
3. Go to Webdeyeral → WP Dashboard Customizer.

== Frequently Asked Questions ==

= Do the settings apply to administrators? =
Most modules apply to other roles only. Each module has an "Apply to Administrators Too" switch.

= I forgot my custom login address (Pro). =
Add `define( 'WDDC_DISABLE_LOGIN_URL', true );` to wp-config.php, log in at wp-login.php and check the address in Customizer > Login Security. The address is also e-mailed to the site admin when you save it.

= What happens when I delete the plugin? =
All plugin settings are removed. Media categories are kept so your files stay organized if you install the plugin again. Page order and parents are normal WordPress data and stay as they are.

= Does WebP conversion change my existing images? =
No. Only new uploads are converted, and only when your server's image library supports WebP.

== Screenshots ==

1. Dashboard: hide widgets, add a welcome box and content tree boxes.
2. Admin Menu Editor: rename, reorder and hide menu items.
3. Login Page: templates, logo, colors and background.
4. Login Security.
5. Maintenance mode.
6. WebP conversion.

== Changelog ==

= 1.1.34 =
* New Webdeyeral menu in the left admin menu: all installed Webdeyeral plugins are listed in one menu, in alphabetical order and with icons, instead of under Tools, Appearance, Media or WooCommerce. Pro and Agency licenses show a green Pro / Agency pill next to the name. The menu also has All Products (all our products, installed or not) and Settings (hide the Webdeyeral shortcut in the toolbar). Old page addresses redirect to the new place. With White Label on, the settings screen stays under Appearance and the Webdeyeral name is not shown.

= 1.1.33 =
* The Agency feedback form was renewed: a topic choice (Bug Report, Suggestion, Question), three guided fields for bugs (What did you do, What did you expect, What happened), the related screen picked automatically and an optional screenshot. An optional "Add Technical Details" box adds versions, server limits, the active theme and plugins, the settings without secrets and this plugin's last error lines; "What will be sent?" shows the full text before sending. Passwords, keys, the full license key, customer data and IP addresses are never sent. The consent text now states the purpose, the retention period and links to the Privacy Policy.

= 1.1.32 =
* The Agency feedback form moved from the right column to its own section in the side menu ("Feedback", with a green Agency badge, right above License). The form and a "What Is Sent" card sit side by side, so the settings screens now use the full width.

= 1.1.31 =
* On/off switches are green when they are on (they were dark), so active settings stand out at a glance.

= 1.1.30 =
* Toolbar > Items to Hide: items now sit in four columns on wide screens. With larger text size or on narrower screens they drop to three, two or one column.
* Login Page: the busy Login Page Design card and the Pro Layout card now use the full width, so their settings have more room. The Pro Login Log table under Login Security is full width too.
* Visitor Counter: the settings and the widget preview use the full width, and the Who Sees the Widget roles sit in two or three columns.
* A yellow License button next to the plan badge in the top bar opens the License section in one click.

= 1.1.29 =
* The settings screen now uses the full width (up to 1800 px). On wide screens cards sit in two columns; sections with one card, tables and editors keep the full width.
* Text size buttons: A− / A+ in the top bar scale the whole screen between 90% and 150%; click the percentage to go back to the original size. The choice is saved to your user account, so it stays after a refresh and on other devices.
* New settings search at the top of the side menu. Type for example "captcha" or "color" to list the matching settings; a click opens that section and highlights the setting.
* The side menu is grouped under headings (Admin Panel, Login and Security, Content and Media, Tracking, Email and Tools). Features that are on show a green dot.
* Content Tree settings moved from the Dashboard section to their own section in the side menu (above Duplicate Content).
* Settings are saved without reloading the page and a "Saved" message appears in the corner. The sticky save bar at the bottom shows when there are unsaved changes, and leaving the page without saving asks first.
* The screen opens on the section you used last.
* Help texts are larger and darker, so they are easier to read.
* New About Us section with an introduction of Webdeyeral, links and our other plugins. The large plugins panel under every section is replaced by a one-line link, which Pro can turn off.
* Email (SMTP) > Connection Test: tries ports 25, 465, 587 and 2525 on your outgoing mail server and popular email services, and shows which ports are open, the encryption (SSL / STARTTLS), the server name and the accepted login methods (Login, Plain, CRAM-MD5, OAuth 2.0) in a table with a summary and a recommended setting.
* Toolbar: the search and counters of Items to Hide now also work on plans other than Agency.

= 1.1.28 =
* Media Library grid view: new "Clear Filters" button in the toolbar resets the type, date, category and other filters and the search in one click. It is greyed out while no filter is in use.
* Media Library grid view: the column choice now always holds after a page refresh. It is saved to your user profile and also kept in the browser, and the grid keeps it even if another script resizes it.
* Media Library grid view: the toolbar keeps its items on one line where there is room, so "Bulk select" no longer drops to a second row on its own. The search label became a placeholder to save space.

= 1.1.27 =
* All settings screens now share the look of the Email (SMTP) screens: cards with header strips, tidier fields, dark switches and pink save buttons.
* Toolbar: the Items to Hide list is redesigned. Each item is a card with a hide switch and its sub-items are chips; items are grouped by left and right side, with search, a hidden counter and Show All. Update and comment counts no longer appear in item names.
* Media Library grid view: choose 6, 8, 10 or 12 columns (default 8). The choice is remembered per user.
* Login Security: the Site Key and Secret Key fields no longer overflow the card.

= 1.1.26 =
* Email (SMTP): General Settings is now full width with its options side by side and a compact Save button. On the Email Test screen the Sender and Recipient fields sit side by side, and the send button moved next to the HTML switch. The "Send Test Email" buttons are pink.

= 1.1.25 =
* New "Email (SMTP)" section (free): sends the site's emails through your own SMTP server ("Other SMTP") instead of the server's mail function. Every email is logged with search, filters, a detail view, resend and delete; logs are deleted automatically after the time you choose. Includes a test email screen, email simulation, a plain text alternative and a Dashboard widget with Today, Last 7 Days and All Time totals. Passwords are encrypted with your WordPress salt keys. A warning shows when another SMTP plugin is active. Nothing changes until you add a connection. Mailgun, SendGrid, Brevo, Google Workspace, Microsoft 365 and the Overview statistics come with Pro.

= 1.1.24 =
* New "Visitor Counter" section (free): counts the daily visitors and page views of your site and adds a Visitor Counter widget to the Dashboard with a 14-day chart and Today, Yesterday, Last 7 Days, Last 30 Days and All Time totals. Pages served from a cache are counted too; search engine bots and logged-in users are not (optional). Only daily totals are stored, no IP address or personal data. Off by default.

= 1.1.23 =
* New "Media Cleanup" section in the menu. Finding and removing unused media files is part of WP Dashboard Customizer Pro; without Pro the section explains what it does.

= 1.1.22 =
* The settings screen moved from its own item in the left admin menu to Appearance → WP Dashboard Customizer. It also opens from the Webdeyeral toolbar menu; old page addresses keep working.

= 1.1.21 =
* New "Activity Log" section in the menu. The log itself is part of Dashboard Customizer Pro; without Pro the section explains what it records.

= 1.1.20 =
* New "Duplicate Content" section (free): a "Duplicate" link under each item, a bulk action and a toolbar button while editing. The copy keeps the Elementor design exactly as it is, custom fields, categories, tags and the featured image; its address ends with "-dupe" and it is saved as a draft by default. Choose the content types in the settings.

= 1.1.19 =
* The feedback form is now shown only while an Agency license is active; its title badge now says Agency.

= 1.1.18 =
* Media settings: the free WebP Images card now comes first, Media Library Categories (Pro) after it.

= 1.1.17 =
* Login page: new "Links on Hover" color for the links under the form; until now WordPress used its own blue or orange. The form now sits in the middle of the page, also from top to bottom. The login page settings are laid out side by side in two or three columns instead of one long list.
* Custom Login Address, Limit Login Attempts and Media Library Categories are now part of Pro. Your saved settings and categories are not deleted and come back as they were when Pro is active. WebP conversion stays free.
* Maintenance mode: colors and the background image in one row of three columns.

= 1.1.16 =
* Login page: new "Space Between Logo and Form" setting (default 24 px), and the logo box now follows the real proportions of your logo, so a wide logo no longer leaves empty space under it. A new "Form Background Opacity" setting (percent) makes the form box see-through.

= 1.1.15 =
* Each color in the login page and admin color settings now shows its name again (the WordPress color picker had hidden it), and the login form colors say what they change, for example "Links: "Lost your password?" and "Go to site" under the form".

= 1.1.14 =
* The WP Dashboard Customizer Agency license now works on 500 sites (new licenses). Sites already registered on a license stay registered.

= 1.1.13 =
* Dragging files onto a category in the Media Library works again: WordPress no longer opens its full-screen "drop files to upload" layer over the categories while a file from the library is being dragged.

= 1.1.12 =
* The "View Product" links in the Webdeyeral Plugins panel are now yellow, so they are easier to read.

= 1.1.11 =
* New admin layout: the sections are now in a vertical menu on the left, each with its icon and name, and the chosen section opens on the right. The menu and the product bar on top stay in place while the page scrolls, and License is always the last item. Section boxes get a soft shadow on hover.

= 1.1.10 =
* A green Pro badge next to the feedback form title shows that the form is part of Pro.

= 1.1.9 =
* The feedback form is now shown only while a Pro license is active, with a new description.
* When several Webdeyeral plugins are installed, the Webdeyeral Plugins panel always uses the newest copy, so an outdated plugin can no longer bring back the old look.

= 1.1.8 =
* The Webdeyeral Plugins panel has a new look: dark background, two columns, each product with its image, name, description and product link. Images are hidden on phones.

= 1.1.7 =
* The header looks like the other Webdeyeral plugins: "Webdeyeral" with the plugin name below it and the version, then the sections as icons on the same row (the name shows on hover).

= 1.1.6 =
* New yellow WP Dashboard Customizer link in the toolbar. Every active Webdeyeral plugin is listed in its own color under a shared pink "Webdeyeral" menu. The menu is hidden while White Label is on.
* The Webdeyeral Plugins panel lists all four products, WP Disable Helper included.

= 1.1.5 =
* Deleting the plugin no longer removes your settings while WP Dashboard Customizer Pro or another copy of this plugin is still installed.

= 1.1.4 =
* The notice on the Plugins screen now says "the free version of this plugin" instead of "the earlier copy".

= 1.1.3 =
* The "earlier copy was turned off" message now appears only on the Plugins screen and this plugin's own pages, and can be closed with "Hide this message".

= 1.1.2 =
* When Dashboard Customizer Pro is loaded, this plugin steps aside and Pro uses the copy it carries.
* The message about the turned-off earlier copy is now translated into Turkish.

= 1.1.1 =
* The Webdeyeral Plugins panel lists only released plugins.

= 1.1.0 =
* First release on WordPress.org, under the name Webdeyeral Dashboard Customizer and the folder "webdeyeral-dashboard-customizer".
* Updates now come from WordPress.org. A copy installed earlier from webdeyeral.com in the "wp-dashboard-customizer" folder is turned off automatically and your settings are kept.
* The Webdeyeral Plugins panel uses the list that ships with the plugin and makes no outside request by default.

= 1.0.4 =
* The plugin folder is now wp-dashboard-customizer. An old copy in the webdeyeral-dashboard-customizer folder is turned off automatically and your settings are kept when it is deleted.
* Other plugins' notices and ads are not shown on the settings and Tree View screens of this plugin.
* Updates come only from webdeyeral.com, never from a WordPress.org plugin that uses the same folder name.

= 1.0.3 =
* CSS and JS files are loaded with their file time, so the new files are used right after an update.
* Header: the version label is black on yellow and the "Upgrade to Pro" button white on pink, readable with any theme.

= 1.0.2 =
* Maintenance mode: the page caches of WP Rocket, LiteSpeed, W3 Total Cache, WP Super Cache, WP Fastest Cache, SiteGround, Breeze, Hummingbird, Nginx Helper and others are emptied when the settings are saved, so visitors see the change at once. Maintenance and let-through pages are never stored in the page cache.

= 1.0.1 =
* Content Tree: a separate dashboard box for each content type, chosen in a table; sub-items open and close with an arrow.
* The welcome box shows even when admin notices are hidden by another plugin or setting.
* Saving a tab while Pro is off keeps the Pro settings.

= 1.0.0 =
* First release.
