Support » Themes and Templates » Bug with textarea in my theme options
8 years ago
I want to propose options for my theme, like http://literalbarrage.org/blog/archives/2007/05/03/a-theme-tip-for-wordpress-theme-authors/.
I have a bug with textareas. When empty, it show the beginning of the file .po of my theme!!!
I use this syntax to create textarea:
"name" => __('foo','news'),
"desc" => __('Text to display...','theme'),
"id" => $shortname."_else",
"type" => "textarea"),
Thanks for your help!
7 years, 10 months ago
I wrote that tutorial. I didn’t take i18n issues into account, so that may play into it.
I note that you didn’t set a “std” value for the textarea. Try setting “std” => “” in the array defining that textarea and see if it solves your problem.