WordPress | Dark Theme Mode | Convert Any Theme To Dark
Follow the following steps: DOWNLOAD AND ADD FOLLOWING FILES: TO FOLDER: “…/wp-content\themes\<theme-name>\assets\js\” FILES: “darkreader.js and “darkreader-api.js” DOWNLOAD FROM: darkreader.js darkreader-api.js ADD FOLLOWING CODE: IN FILE: “…/wp-content/themes/<theme-name>/functions.php” IN FUNCTION: function onepress_scripts() …