Skip to content
Public Ticket #22229

Dark Mode as Default

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

I'll update this ticket when the new update with this features is available.

Regards,
PenciDesign.


randamedya replied

Customer Reply

Has this feature been added with new updates? I want it to show with dark mode by default.

PenciDesign Supporter replied

Staff Reply

Hi,

We'll add this as an option in the future theme update.

Regards,
PenciDesign.


randamedya replied

Customer Reply

thank you very much. Pleased to meet you. How did you do? Let me know if I change it later

PenciDesign Supporter replied

Staff Reply

Hi,

I've edited your site.

Please check.

Regards,
PenciDesign.


randamedya replied

Customer Reply

already active

PenciDesign Supporter replied

Staff Reply

Hi,

After adding this code, please go to Appearance > Install Plugins, install & activate the Penci Shortcode & Performance then check again.

Regards,
PenciDesign.


randamedya replied

Customer Reply

I placed the code but it didn't work. Would you check? Regards.

PenciDesign Supporter replied

Staff Reply

Hi,

Please add the following code to the Soledad child theme "functions.php" file or via the Code Snippet plugin here:

add_action('wp',function(){
    $dark_mode_user = isset($_COOKIES['penci_mode']) && $_COOKIES['penci_mode'] ? $_COOKIES['penci_mode'] : '';
    if ( ! $dark_mode_user ) {
        setcookie('penci_mode','dark',WEEK_IN_SECONDS,'/');
    }
});

Regards,
PenciDesign.



PenciDesign Supporter replied

Staff Reply

Hi,

Please send me your WordPress admin account in a PRIVATE reply.
I'll log in and try to add this feature to your site now.

Regards,
PenciDesign.



randamedya replied

Customer Reply

New version has published. I was eagerly waiting for this feature to be added, but it did not come. Will there be a solution? Can you share a js code for quick solution?

PenciDesign Supporter replied

Staff Reply

Hi,

Unfortunately, the newest update doesn't included the default dark mode feature, I'll check and update it to your site as soon as I can.

Regards,
PenciDesign.


randamedya replied

Customer Reply

Hi again,

New version is live.
But where do I do it? I want to use dark mode as default.If it is not possible in this update can you give me a javascript code?

Regards.

PenciDesign Supporter replied

Staff Reply

Hi,

The progress may take 5-7 days. I'll update this ticket when it is available.

Regards,
PenciDesign.


randamedya replied

Customer Reply

Is there an estimated time? Could it come in the next update? When will you publish it? I have time to deliver the site to the customer. That's why I was wondering.

PenciDesign Supporter replied

Staff Reply

Hi,

We'll add the dark mode default in the future theme update.

Please keep waiting.

Regards,
PenciDesign.


randamedya started the conversation

Conversation Start

Hi,

I want it to show with dark mode by default. In other words, visitors entering the site encounter dark mode instead of light mode. Then, they can switch to light mode if they wishes. How can I do that?

The auto dark mode setting doesn't work for me. I always want the dark mode to take precedence.

Regards.

Want to join this conversation or access attachments? Sign in first.