Title: DX localhost
Author: Mario Peshev
Published: <strong>15 oktober 2014</strong>
Last modified: 15 november 2019

---

Sök tillägg

![](https://ps.w.org/dx-localhost/assets/banner-772x250.png?rev=2378786)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/dx-localhost/assets/icon-256x256.png?rev=2378786)

# DX localhost

 Av [Mario Peshev](https://profiles.wordpress.org/nofearinc/)

[Ladda ner](https://downloads.wordpress.org/plugin/dx-localhost.1.5.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/dx-localhost/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/dx-localhost/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/dx-localhost/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/dx-localhost/#developers)

 [Support](https://wordpress.org/support/plugin/dx-localhost/)

## Beskrivning

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.

## Skärmdumpar

 * [[
 * Sample notification line
 * [[
 * DX localhost settings page

## Installation

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

## Vanliga frågor

 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](https://www.facebook.com/DevriXLtd)

_Follow us on Twitter_
 [https://twitter.com/wpdevrix](https://twitter.com/wpdevrix)

## Recensioner

![](https://secure.gravatar.com/avatar/6748096252a4aafe3f38ecb5bd2d987759c693d4ba2e235431513e16a94e3037?
s=60&d=retro&r=g)

### 󠀁[GREAT! LOVE it! 2022](https://wordpress.org/support/topic/great-love-it-7/)󠁿

 [JJNW](https://profiles.wordpress.org/jjnw/) 26 december 2021

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

![](https://secure.gravatar.com/avatar/dcf8b977f119e4b180f203fe34ecfafebf90fe7935a608da74d025e1794fe281?
s=60&d=retro&r=g)

### 󠀁[I love it](https://wordpress.org/support/topic/i-love-it-206/)󠁿

 [Martin Georgiev](https://profiles.wordpress.org/martoeg/) 3 september 2016

Thanks all…

![](https://secure.gravatar.com/avatar/e0934709bc34005b744f7ee661a77557497073a8193961c3199eff0edfb5a075?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-1812/)󠁿

 [Punit Patel](https://profiles.wordpress.org/punit5658/) 3 september 2016

Helpful to developer while work on localhost.

 [ Läs alla 3 betyg ](https://wordpress.org/support/plugin/dx-localhost/reviews/)

## Bidragsgivare och utvecklare

”DX localhost” är programvara med öppen källkod. Följande personer har bidragit 
till detta tillägg.

Bidragande personer

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)
 *   [ DevriX ](https://profiles.wordpress.org/devrix/)
 *   [ Sven Hofmann ](https://profiles.wordpress.org/hofmannsven/)
 *   [ Stanko Metodiev ](https://profiles.wordpress.org/metodiew/)

[Översätt ”DX localhost” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/dx-localhost)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/dx-localhost/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/dx-localhost/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/dx-localhost/) via [RSS](https://plugins.trac.wordpress.org/log/dx-localhost/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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.

## Meta

 *  Version **1.5**
 *  Senast uppdaterat **7 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.1 eller senare **
 *  Testat upp till **5.2.24**
 *  PHP-version ** 5.6 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/dx-localhost/)
 * Etiketter
 * [development](https://sv.wordpress.org/plugins/tags/development/)[localhost](https://sv.wordpress.org/plugins/tags/localhost/)
   [notice](https://sv.wordpress.org/plugins/tags/notice/)[production](https://sv.wordpress.org/plugins/tags/production/)
   [toolbar](https://sv.wordpress.org/plugins/tags/toolbar/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/dx-localhost/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  3 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/dx-localhost/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/dx-localhost/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/dx-localhost/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/dx-localhost/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/dx-localhost/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dx-localhost/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/dx-localhost/reviews/)

## Bidragande personer

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)
 *   [ DevriX ](https://profiles.wordpress.org/devrix/)
 *   [ Sven Hofmann ](https://profiles.wordpress.org/hofmannsven/)
 *   [ Stanko Metodiev ](https://profiles.wordpress.org/metodiew/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/dx-localhost/)