How to remove ID and class from menu

Ref wordpress out put will be like contac Us if you want to add any class then add in function.php add_filter(‘nav_menu_css_class’, ‘my_css_attributes_filter’, 50, 1); add_filter(‘nav_menu_item_id’,…

how to show post views without plugins

add bellow code in function.php file function getPostViews($postID){ $count_key = ‘post_views_count’; $count = get_post_meta($postID, $count_key, true); if($count==”){ delete_post_meta($postID, $count_key); add_post_meta($postID, $count_key, ‘1’); return “1”; }…