Title: installing dark mode without a plugin
Last modified: April 21, 2025

---

# installing dark mode without a plugin

 *  [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/installing-dark-mode-without-a-plugin/)
 * I came across this when looking for a free way to install a dark mode without
   a plugin. I have enough of them at the moment. Whats not clear to me is the process
   of what needs done.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finstalling-dark-mode-without-a-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/installing-dark-mode-without-a-plugin/#post-18427049)
 * > Whats not clear to me is the process of what needs done.
 * It’s about manually writing and adding custom code.
 * If you can’t figure that out, then use a plugin. All a plugin does is add pre-
   written custom code for you automatically.
 *  [Muhibul Haque](https://wordpress.org/support/users/devmuhib/)
 * (@devmuhib)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/installing-dark-mode-without-a-plugin/#post-18427856)
 * Hi [@infernoprime](https://wordpress.org/support/users/infernoprime/) 
   You can
   add these in your theme. Styles you can add in your theme style.css file, and
   the function you can add on your functions.php file and to add the scripts, you
   can create and enqueue the js file to add JavaScript codes.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘installing dark mode without a plugin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Muhibul Haque](https://wordpress.org/support/users/devmuhib/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/installing-dark-mode-without-a-plugin/#post-18427856)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
