JasonLA+ 2 Report post Posted October 7, 2011 So I was watching the video on hooks for base child themes. I went into the folder functions.php and copy-pasted the code for the stumbleupon icon onto my site. Upon doing this I got this error message and now everything on the site is messed up. Parse error: syntax error, unexpected $end in /nfs/c09/h02/mnt/135242/domains/zoxstraps.com/html/wp-content/themes/platformpro/functions.php on line 23 Website is zoxstraps.com Code I put into the site is // add_action('hook_name','function name'); add_action('pagelines_branding_icons_end', 'add_icons_to_branding'); // function name function add_icons_to_branding(){ // what the function does??“in this case adds a stumbleupon icon to the header of your theme. The class referenced in the link can be seen in the style.css // and is the image from the CSS is placed in the images folder ?> If you could help me get everything back that would be awesome! Thanks Share this post Link to post Share on other sites
JasonLA+ 2 Report post Posted October 7, 2011 I went into the server and fixed it. Share this post Link to post Share on other sites
Danny+ 1,327 Report post Posted October 7, 2011 Hi Jason, The reason for the error is that you're editing the Platform Pro functions.php, you should be using Platform Base functions.php file for add your own code. Please download Platform Base from your account and install that and activate it, if you plan on adding your own code. Please search our forums, before posting! Share this post Link to post Share on other sites