In my (WordPress) functions when I try to change Code 1 to Code 2 I get this error:
Warning: Cannot modify header information - headers already sent by (output started at /home/consumer/public_html/themeforward.com/demo2/wp-content/themes/Tutles/functions.php:1) in /home/consumer/public_html/themeforward.com/demo2/wp-admin/theme-editor.php on line 99
Code 1
array(
"name" => "Custom CSS",
"desc" => "Want to add any custom CSS code? Put in here, and the rest is taken care of. This overrides any other stylesheets. eg: a.button{color:green}",
"id" => $shortname."_custom_css",
"type" => "textarea",
"std" => ""
),
Code 2
array(
"name" => "Link Color",
"desc" => "Want to add any custom CSS code? Put in here, and the rest is taken care of. This overrides any other stylesheets. eg: a.button{color:green}",
"id" => $shortname."_link_color",
"type" => "textarea",
"std" => ""
),
Lines 89 - 102:
// don't allow template files in subdirectories
if (false !== strpos($basename, '/')) continue;
$template_data = implode('', file( $template ));
$name = '';
if (preg_match( '|Single Post Template:(.*)$|mi', $template_data, $name))
$name = _cleanup_header_comment($name[1]);
if (!empty($name)) {
if(basename($template) != basename(__FILE__))
$post_templates[trim($name)] = $basename;
}
I am completely confused as to how to fix this.