[Plugin: OptionTree] Array issues
-
This plugin seems to work great. First time I’ve used it so not 100% sure this is a bug but…
I couldn’t get the Array output to work at all. A little digging and I discovered that the Array keys are strings.
[background] => Array ( [background-color] => #ffffff [background-repeat] => repeat [background-attachment] => scroll [background-position] => left top...
So I don’t think
get_option_tree( 'background', $theme_options , true , true, 0);
can work.I updated get-option-tree.php to except strings as the offset so now I have
get_option_tree( 'background', $theme_options , true , true, 'background-color');
Which seems more readable also. Am I doing this wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: OptionTree] Array issues’ is closed to new replies.