Display a notice when working on a localhost site on staging environment, based on your settings and adjustments
Activate the plugin and see a yellow notice bar indicating that you're working on localhost.
Super helpful whenever you're cloning a production website with virtual hosts using the same domain name, and are not sure which site are you editing. Visible both in the admin area, and the frontend to all site visitors.
- Upload the 'simple-blog-authors-widget' folder to the
/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
-
How do you change the environment name? *You can change it by entering your desired environment name in the Dev Environment Name input field, Save the changes and you're done!
-
How can I move the notice line to the admin bar? *You can use the admin bar as a notice line by disabling the line from "Notice Line Visibility" option and then paint the admin bar your desired color from "Adminbar Color", save the changes and you should be done!
- Added new option for changing notice line position to Bottom of the site
- Fixed bug when disabling the notice line the option to change color of admin bar wasn't working
- Fixed lack of sanitizing of input fields
- Added new option for change the color of adminbar
- Added new option for changing the color of the adminbar text
- added new checkbox for making the toolbar font weight to bolded
- fix the style of the toolbar
- set a default value for the option of DX localhost
- Fix the issue with notice line when the user is not logged in
- Update the internal logic and add some small code improvements
- Screenshots and docs
- Display a notice when working on a localhost site clone.
- Added a toolbar button that would redirect you to the DX Localhost Settings
- Enable or disable the toolbar button and/or the notice line.
- Added color picker for the toolbar button and/or notice line.
- You can change the environment name with any name you want!
- Display a notice when working on a localhost site clone.