Hi Themeco team,
I’m reporting a bug with the Stacks API example on your documentation page: https://theme.co/docs/stack-api.
The default value for the sample_theme_option_toggle
option is set to true
, but when I load the theme options, the toggle is not turned on by default.
Here are the steps to reproduce the bug:
- Copy the example code to the functions.php
- Go to the theme options page.
- Select the stack “My Stack”.
- The “sample_theme_option_toggle” should be turned on by default.
However, when I load the theme options, the toggle is not turned on by default. I also can’t find the key for this option in the Dev Toolkit.