The [darcula_toggle] shortcode shows just the plain text.
-
Hello,
I’m using the following PHP code to display the toggle in a custom theme file:
<?php
if (function_exists('is_plugin_active') && is_plugin_active('dracula-dark-mode/plugin.php')) {
echo do_shortcode('[darcula_toggle]');
}?>But on the font end, only plain text appears instead of the expected toggle: https://prnt.sc/ZmkLWqoS-R8z
Is there an alternative method or code I can use with the free version of your plugin?
Thank you
Daniel
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.