Functions issue
-
Really need someone’s help.
I was trying to remove a comment form, and I inserted some code into my Functions.php page and I have been blocked completely out of my site.
Cant even access Wp-admin, or my normal domain.
I inserted the following code:
// Removes from post and pages
add_action(‘init’, ‘remove_comment_support’, 100);function remove_comment_support() {
remove_post_type_support( ‘post’, ‘comments’ );
remove_post_type_support( ‘page’, ‘comments’ );
}Near the top of the page, and my entire page has disapeared!
Please help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Functions issue’ is closed to new replies.