Parse error: syntax error, unexpected T_FUNCTION..Line 11
-
Help! I tried to remove my RSS feed and per the request of another thread I found about how to do this the wordpress page has crashed all together. I followed these directions.
I’m not 100% sure of my wordpress version but at the bottom right corner it suggests to upgrade to version 3.2.1. So I assume I am using the previous numerical version of 3.2?I followed these direction:
“Go to your theme and paste this in your function.php”
/**
* Disable Our Feed Urls
*/
function disable_our_feeds() {
wp_die( __(‘Error: No RSS Feed Available, Please visit our homepage.’) );
}add_action(‘do_feed’, ‘disable_our_feeds’, 1);
add_action(‘do_feed_rdf’, ‘disable_our_feeds’, 1);
add_action(‘do_feed_rss’, ‘disable_our_feeds’, 1);
add_action(‘do_feed_rss2’, ‘disable_our_feeds’, 1);
add_action(‘do_feed_atom’, ‘disable_our_feeds’, 1);After I did this this came up
Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /usr/home/goabov/www/htdocs/main/wp-content/themes/above/functions.php on line 11
I can’t access any of my pages and it appears as if the site/page is crashed and unable to be fixed?
How do I get the wordpress page back? in addition how can I remove the RSS feed which I set up to get rid of.
The topic ‘Parse error: syntax error, unexpected T_FUNCTION..Line 11’ is closed to new replies.