Hi, after activating a custom themes, these menu are missing from Appearance:
1. Menus
2. Themes Options
3. Background
4. Header
My Menu Appearance only consisting of three items: Themes, Widgets and Editor.
How to restore the missing items ?
Is there anything to do with functions.php ?
functions.php
<?php
add_filter('get_comments_number', 'comment_count', 0);
function comment_count($count) {
if (! is_admin()){
global $id;
$comments_by_type = &seperate_comments(get_comments('status=approve&post_id=' .$id));
} else {
return $count;
}
}
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'feed_links_extra', 3);
function remove_generator() {
return '';
}
add_filter('the_generator', 'remove_generator');
function login_error_mess(){
return 'ERROR: Invalid username or password.';
}
add_filter('login_errors', 'login_error_mess');
Thanks.