Display menu in category and sub category

I need to show menu with all subcategories for specific category (and sub category). When code looks like this: <?php if (is_category(‘news’)) : ?> <?php wp_nav_menu( array( ‘theme_location’ => ‘news-menu’ ) ); ?> <?php endif; ?> <?php if (is_category(‘articles’)) : ?> <?php wp_nav_menu( array( ‘theme_location’ => ‘articles-menu’ ) ); ?> <?php endif; ?> Menu is…

Filter posts by author in WordPress admin area

I am a newbie. I Filter posts by author in WordPress admin area. But my code noly show posts have status is “Public”. I want to show posts with all status. Can you help me ?? Thanks you This is my code. function restrict_manage_authors() { if (isset($_GET[‘post_type’]) && post_type_exists($_GET[‘post_type’]) && in_array(strtolower($_GET[‘post_type’]), array(‘project’))) { wp_dropdown_users(array( ‘show_option_all’…