Title: Parse error in custom_functions.php file
Last modified: August 19, 2016

---

# Parse error in custom_functions.php file

 *  [dypark](https://wordpress.org/support/users/dypark/)
 * (@dypark)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-in-custom_functionsphp-file/)
 * Hi,
 * I am getting the following error and cannot even log into my admin panel. I checked
   the custom_functions.php file on my webhost and don’t see the problem it’s mentioning.
   How can I fix this?
 * Parse error: syntax error, unexpected ‘<‘ in /home3/dypadvis/public_html/blog/
   wp-content/themes/thesis_16/custom/custom_functions.php on line 33
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-in-custom_functionsphp-file/#post-1395730)
 * could you post the code of that custom_functions.php here, so someone could have
   a look at it?
    did you make any changes to that file before the error occured?
 *  [Robert Chapin](https://wordpress.org/support/users/miqrogroove/)
 * (@miqrogroove)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-in-custom_functionsphp-file/#post-1395737)
 * Restore from backup dude.
 *  Thread Starter [dypark](https://wordpress.org/support/users/dypark/)
 * (@dypark)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-in-custom_functionsphp-file/#post-1395862)
 * Yes, I tried to add code for Google Reader, got the error, then deleted the Google
   Reader code.
 * Fortunately, I have a recent backup.
 * Here is the code. Thanks.
 * <?php
 * // Using hooks is absolutely the smartest, most bulletproof way to implement 
   things like plugins,
    // custom design elements, and ads. You can add your hook
   calls below, and they should take the // following form: // add_action(‘thesis_hook_name’,‘
   function_name’); // The function you name above will run at the location of the
   specified hook. The example // hook below demonstrates how you can insert Thesis’
   default recent posts widget above // the content in Sidebar 1: // add_action(‘
   thesis_hook_before_sidebar_1’, ‘thesis_widget_recent_posts’);
 * // Delete this line, including the dashes to the left, and add your hooks in 
   its place.
 * /**
    * function custom_bookmark_links() – outputs an HTML list of bookmarking
   links * NOTE: This only works when called from inside the WordPress loop! * SECOND
   NOTE: This is really just a sample function to show you how to use custom functions!**
   [@since](https://wordpress.org/support/users/since/) 1.0 * [@global](https://wordpress.org/support/users/global/)
   object $post */
 * function custom_bookmark_links() {
    global $post; ?> <ul class=”bookmark_links”
   >
    - [http://delicious.com/save?v=5&noui&jump=close&url=&lt](http://delicious.com/save?v=5&noui&jump=close&url=&lt);?
      php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>’,‘
      delicious’, ‘toolbar=no,width=550,height=550’); return false;” title=”Bookmark
      this post on del.icio.us”>Bookmark this article on Delicious
    - <?php
       }

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Parse error in custom_functions.php file’ is closed to new replies.

## Tags

 * [custom_functions.php](https://wordpress.org/support/topic-tag/custom_functions-php/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [dypark](https://wordpress.org/support/users/dypark/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/parse-error-in-custom_functionsphp-file/#post-1395862)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
