// === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $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.

At Aurora Home Health, we take care of medically complex patients with pulmonary disease, including advanced-stage COPD and ventilator dependency. Nobody knows when you will need professional medical assistance to be delivered to you or any of your relatives. This is hard to provide care for your relatives when you need to work all day long and come back home late in the evening. This is when professional pulmonary rehabilitation services are needed.

All members of our team are expert therapists with in-depth knowledge and year of experience providing pulmonary rehab services. Pulmonary/respiratory rehabilitation services may be beneficial for people with cancer undergoing lung resection, people with chronic obstructive pulmonary disease undergoing lung volume reduction surgery, etc.

Specialists at Aurora Home Health provide a wide range of pulmonary therapy services, including:

We cover the area near Dallas, DFW, as well as other locations requested by the client. If you are looking for the best pulmonary rehabilitation services nearby, just give us a call at 866-934-7060. Let our team members determine your short-term and long-term goals to start provided the needed assistance.

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