Widget: Configs View Mode


About

Configs View Mode is a widget that containing the blog's view mode configurations (Light or Dark).



Specification




Configuration



Description

enable
When the value is yes, visitors can switch between view modes via a switch button located in the top right corner of the screen - (View).

default_mode
This configuration has 2 functions:
  1. Set initial mode When the feature is activated (enable configurasion is yes), on the first visit, the active mode will use the default_mode configuration. If the visitor switches modes, the last active mode will be remembered by system for next visit.

  2. Lock mode When the feature is deactivated (enable configuration is no), the active mode will use the default_mode configuration. Visitors cannot switch mode. This system allows you to lock the mode to desired mode.

switch_to_light_button_title
Switch button title to light mode - (View).

switch_to_dark_button_title
Switch button title to dark mode - (View).
Have Question?