Messed UP :-(
-
I was attempting to get rid of code showing under my comment box on the Mantra Theme. I cut the following into the bottom of the theme-function.php.
function mytheme_init() { add_filter('comment_form_defaults','mytheme_comments_form_defaults'); } add_action('after_setup_theme','mytheme_init'); function mytheme_comments_form_defaults($default) { unset($default['comment_notes_after']); return $default; }
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Then I got the following error message: Parse error: syntax error, unexpected ‘}’ in /home/wp_i5zk2x/gypsysgewells.com/wp-content/themes/mantra/includes/theme-functions.php on line 419
I then deleted what I had added, but I still get the same error.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Messed UP :-(’ is closed to new replies.