I've read every post I can find but I just can't figure this out. Here's the error: Parse error: syntax error, unexpected '<' in /home/content/23/8175723/html/wp-content/themes/thesis_182/custom/custom_functions.php on line 24 Can someone point this out. Here's the code: <?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 ]:---*/ function hide_headline() { if (is_page()) return false; // Do not show headline else return true; // Show headline } add_filter('thesis_show_headline_area', 'hide_headline'); remove_action('thesis_hook_before_header', 'thesis_nav_menu'); add_action('thesis_hook_after_header', 'thesis_nav_menu'); Code (markup):
This code has no problem. But I think problem lies in one of these functions add_filter('thesis_show_headline_area', 'hide_headline'); remove_action('thesis_hook_before_header', 'thesis_nav_menu'); add_action('thesis_hook_after_header', 'thesis_nav_menu') Code (markup): Could you send the body of these functions too?
Forgive my ignorance but the above code is everything in the "custom_functions.php" file (Wordpress). What is it that I need to provide?
Parse error: syntax error, unexpected '<' in /home/content/23/8175723/html/wp-content/themes/thesis_182/custom/custom_functions.php on line 24 error on line 24 but you post only 22 lines so funny