I am currently editing a wordpress theme however for some reason it keeps showing that I have a syntax error but I can’t see what the problem is. Can someone please help me:
function childtheme_background() {
$shortname = get_option('of_shortname');
if(get_option($shortname . '_background_pattern') != ''){
[B]$output = "<!-- Background Pattern -->\
<style type="\\\\"text/css\\">\
body{ background: url(http://www.avillafan.com/wp-content/themes/traction/images/body-background.gif) no-repeat; }\
</style>\
";[/B]
}
}
add_action('wp_head', 'childtheme_background');
?>
The error is showing on line 125 (The bold text).
The problem I have is I cant access my admin area because of this error now aswell. Any help would be appreciated.