Title: syntax error &#8211; new to code
Last modified: August 20, 2016

---

# syntax error – new to code

 *  [cs.pt.fs](https://wordpress.org/support/users/csptfs/)
 * (@csptfs)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/syntax-error-new-to-code/)
 * I know, I shouldn’t have copied and pasted code. But, I installed the Thesis 
   theme without knowing much about code. I am idiot, I get it. Now that is out 
   of the way…
 * I was trying to get the privacy policy and contact us links in my footer and 
   ended up getting the following error when I go to my site:
 * Parse error: syntax error, unexpected ‘}’ in /home/cschell/public_html/wp-content/
   themes/thesis_184/custom/custom_functions.php on line 15
 * Now, I cannot get into my wp-admin or anything to correct it. Is there a way 
   to reset the site?
 * Here is the code I entered:
 * add_action(‘thesis_hook_footer’, ‘custom_footer’);
    function custom_footer() {?
   > <p><font color=”#3F3D92″>Privacy Policy | <font color=”#3F3D92″>Contact Us</
   font> <p>Copyright &copy 2012 [”><?php bloginfo(‘name’); ?>](https://wordpress.org/support/topic/syntax-error-new-to-code/”<?php).
   All rights reserved. <?php }
 * Thank you so much for your help, I really appreciate it.

The topic ‘syntax error – new to code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [cs.pt.fs](https://wordpress.org/support/users/csptfs/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/syntax-error-new-to-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
