T_STRING unexpected Error in PHP. Need to find a “)”
-
When I click to view my site it says this:
Parse error: syntax error, unexpected T_STRING, expecting ‘)’ in /home/clinch/public_html/seinfeldboxset.com/wp-content/themes/thesis_16/custom/custom_functions.php on line 37
Tried looking for the “)” on line 37 of the code but can’t find it in Textwrangler. Please help.
Here’s my PHP dode:
<?php /* Swap Navigation and Header */ remove_action('thesis_hook_before_header', 'thesis_nav_menu'); add_action('thesis_hook_after_header', 'thesis_nav_menu'); /* global */ function custom_bookmark_links() { global $post; ?> <ul class="bookmark_links"> <li><a rel="nofollow" href="https://delicious.com/save?url=<?php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>" onclick="window.open('https://delicious.com/save?v=5&noui&jump=close&url=<?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</a></li> </ul> <?php } /* Add the footer navigation menu */ /* Links for top menu will need to be manually added here, since this menu isn't supported by Thesis */ function footernav_menu() { ?> <ul id="footernav"> <li><a href="https://www.simpsonsboxset.com">Home</a></li> <li><a href="https://www.simpsonsboxset.com/about">About</a></li> <li><a href="https://www.simpsonsboxset.com/privacy-policy">Privacy Policy</a></li> <li><a href="https://simpsonsboxset.com/sitemap.xml">Site Map</a></li> <li><a href="https://www.simpsonsboxset.com/contact">Contact</a></li> </ul> <?php } add_action('thesis_hook_before_footer', 'footernav_menu'); /* widgetize MMBox */ register_sidebar(array('name' => 'Multimedia Box', 'before_widget' => '<li class="widget %2$s">', 'after_widget' => '</li>', 'before_title' => '<h3>', 'after_title' => '</h3>')); function multimedia_box_widgets() { echo '<ul class="sidebar_list">'; dynamic_sidebar('Multimedia Box'); echo '</ul>'; } add_action('thesis_hook_multimedia_box', 'multimedia_box_widgets'); function add_mah_ads () { ?> <script type="text/javascript"><!-- google_ad_client = "pub-4789929466158673"; /* 336x280, created 10/19/09 */ google_ad_slot = "3543287344"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="https://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <?php } add_action('thesis_hook_after_headline', 'add_mah_ads'); function custom_footer () { ?> <div id="bottomfooter"> <div class="footerleft"> Copyright © 2007-2009 - All Rights Reserved | <a href="https://simpsonsboxset.com/about" title=""> About</a> </div> </div> <div class="footerright">Created by <a href="https://cashmakerelite.com" title=""> Cash Maker Elite</a> </div> </div> <?php } add_action('thesis_hook_after_footer', 'custom_footer');
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘T_STRING unexpected Error in PHP. Need to find a “)”’ is closed to new replies.