// === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $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.

If your body’s wound-healing processes function properly, you may not even notice some minor cuts, scratches, and blisters as they will heal quickly and properly. However, the situation is different for people with diabetes. People living with this illness know that even insignificant scores can intensify into dangerous wounds that heal for long.Β 

Some of the most common diabetic wounds are those caused by lower extremity trauma or pressure ulcers. When left untreated, the diabetic wounds can result in the extension of infection and tissue damage, which can result in sepsis, the need for amputation, and death.

The Aurora Home Health staff provides professional help to patients with diabetes and looking for expert assistance in taking care of the wounds that take long to heal. Our team provides individual diabetic wound treatment options to every patient. We work only with time-tested medicine and devices to guarantee the best results.Β 

To accelerate the patient’s body healing processes, the Aurora Home Health staff delivers the following wound treatment options:

  • Applying compression bandages to treat diabetic wounds. Such shoes or boots apply gentle pressure but still allow movement. When placed inside the boots, they keep the wounds moist to promote healing and provide protection against infection.
  •  

  • Hyperbaric oxygen therapy is a safe diabetic wound-healing therapy that stimulates your body’s innate healing process and addresses the different ways that diabetes automatically suppresses your immune system.
  •  
    If you or your family members need professional diabetic wound healing services in Plano, near Dallas and the DFW area, the Aurora Home Health staff is always ready to help. Call us at 866-934-7060 for consultation.

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