You can place the dark mode switch button anywhere on the page or post of your website using the dark mode widget. Edit the widget title, choose switch style and position the alignment of the switch button.
Video Tutorial #
Go to the WordPress admin dashboard, Appearance> Widgets, and then click on the “+” icon button to get widgets.

Search for WP Dark Mode on the search bar.

Then drag and drop the widget to the required section and select the switch styles. Finally, click on update to save the changes.
