

<?php
/* By taking advantage of hooks, filters, and the Custom Loop API, you can make Thesis
 * do ANYTHING you want. For more information, please see the following articles from
 * the Thesis User’s Guide or visit the members-only Thesis Support Forums:
 * 
 * Hooks: http://diythemes.com/thesis/rtfm/customizing-with-hooks/
 * Filters: http://diythemes.com/thesis/rtfm/customizing-with-filters/
 * Custom Loop API: http://diythemes.com/thesis/rtfm/custom-loop-api/

---:[ place your custom code below this line ]:---*/

//Disable Parent Nav//
function custom_footer_script() { ?>
	<script type="text/javascript">
	jQuery("#page li:has(ul.submenu)").hover(function() {
		jQuery(this).children("a").removeAttr('href');
		jQuery(this).children("a").click(function () {
			return false;
		});
	});
	</script>	
<?php }

add_action('thesis_hook_after_html', 'custom_footer_script'); 



//Remove Thesis Attribution//
remove_action('thesis_hook_footer', 'thesis_attribution');



//Custom Copyright Text//

function copyright() {
        echo '<p>©' . date('Y') . ' DJ Sober. All rights reserved.</p>';
}
add_action('thesis_hook_footer', 'copyright', '99');

Code:
function no_sidebars() {
	if (!is_home())
		return false;
	else
		return true;
}
add_filter('thesis_show_sidebars', 'no_sidebars');
