這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

DX localhost

描述

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.

螢幕截圖

  • Sample notification line
  • DX localhost settings page

安裝

  1. Upload the ‘simple-blog-authors-widget’ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

  1. 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!

  2. 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!

Stay up to date

Become a fan on Facebook
https://www.facebook.com/DevriXLtd

Follow us on Twitter
https://twitter.com/wpdevrix

評價

2021年12月26日
Still working perfect with current WordPress 5.8.2 Dec. 2021, going into 2022 🙂 Original Post: LOVE it! Easy – so many times I found links going to live website and I catch myself with “OH s#@%!”. VERY COOL plugin! Love the settings to change the bar and overlay to another color (my preference is red – really drives home the point)!
閱讀全部3個評價

貢獻者及開發者

“DX localhost” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 DX localhost 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.5

  • 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

1.4

  • 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

1.3

  • Fix the issue with notice line when the user is not logged in
  • Update the internal logic and add some small code improvements

1.2

  • Screenshots and docs

1.1

  • 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!

1.0

  • Display a notice when working on a localhost site clone.