You have mine. Thanks.
You don’t need to use the localization function on any dynamic content (the_content(), the_title(), any variables, etc). Just use it on the static content/texts in your theme.
Any update on this?
Thanks @OriginalEXE, @Webbu. I’ll try that!
Hey, not familiar with the system it uses, but can’t you just load theme options on theme activation hook?
I can load the theme options as normal but the issue is that I can’t set the option type of “checkbox” to be checked by default. So for now, all checkbox options are unchecked after the theme is activated.
For example, I want the checkbox option of “Show date?” to be “Yes” (checked) but still couldn’t find the way to do it. Not sure whether I have missed something or there might be some other workaround.
I’m wondering that is there any way to set the default value for checkbox option type? So once a user activated the theme or plugin, s/he can see that some checkbox options are already checked by default.
I’ve tried to use the “std” value to be the same as the “choices” array value like this:
array( 'id' => 'my_option1', 'label' => 'Display Header?', 'desc' => 'Whether to display the site header with menu bar', 'std' => 'true', 'type' => 'checkbox', 'class' => '', 'choices' => array( array( 'label' => 'Yes', 'value' => 'true' ), ) )
But still got no luck for this method. Is this possible to do with OptionTree? Do you guys have any suggestion?
Awesome achievement! Congrats!
Yes, I’m going to do that in the next theme.
Anyway, how do you guys deal with the risk that would affect any previous buyers when upgrading the old items using new requirements?
November is coming so perhaps it has something to do with the phase 2 of new submission requirements I guess?
Anyway it’s unfortunate that there’s still no clear statement from Envato about the phase 2.