Hi
I was trying to make a change to my custom_functions.php file for my Thesis Wordpress theme but I've made a mistake and can't figure it out. The error message refers to line 74 which is the very last line of code. My error message reads:
Parse error: syntax error, unexpected $end in /home2/bailoutm/public_html/wp-content/themes/thesis_18/custom/custom_functions.php on line 74
Here is the code as it reads now. Any help is much appreciated as it's knocked my site down:
<?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.
remove_action('thesis_hook_footer', 'thesis_attribution');
function my_custom_footer() {
?>
I use <a href="http://www.shareasale.com/r.cfm?b=198392&u=158721&m=24570&urllink=&afftrack=">the Thesis theme for WordPress</a>
<a href=" http://www.bailoutmycareer.com/privacy-policy-and-terms-of-use/"><h2><center>PRIVACY POLICY</center></h2></a>
<?php
}
add_action('thesis_hook_footer', 'my_custom_footer');
/**
* 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 1.0
* @global object $post
*/
function custom_bookmark_links() {
global $post;
?>
<ul class="bookmark_links">
<li><a rel="nofollow" href="http://delicious.com/save?url=<?php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>" onclick="window.open('http://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
}