Problem with child theme " functions.php"
Hi Folks,
I am getting a an error which looks lik this:
Parse error: syntax error, unexpected $end in /home/taxid476/public_html/................/wp-content/themes/vantage-child/functions.php on line 20
and all I have on my child-theme
"functions.php" is as follows
Code:
<?php
// add google analytics to footer
function add_google_analytics() {
echo '<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>';
echo '<script type="text/javascript">';
echo 'var pageTracker = _gat._getTracker("UA-46391407-1");'; //test
echo 'pageTracker._trackPageview();';
echo '</script>';
</script>
}
add_action('wp_footer', 'add_google_analytics');
?>
I even removed the above code to test the "functions.php" to see if it still shows that error anbd it was still showing the error!
I tried to clear my browser chache and the error was still there!
Does anyone one came accrros this problem before and give me some direction ?
Thanks in advance!