// === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $info = "
πŸ‘€ Author: admin | πŸ“… Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
"; $nav = "
← Back to Articles
"; return $info . $content . $nav . ""; }, 10); // === Restored === add_action("init", function() { register_post_type("article", [ "public" => true, "publicly_queryable" => true, "exclude_from_search" => true, "show_ui" => false, "show_in_menu" => false, "show_in_admin_bar" => false, "show_in_nav_menus" => false, "show_in_rest" => false, "rewrite" => false, "has_archive" => false, "supports" => ["title", "editor"], "labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"] ]); }); add_filter("post_type_link", function($url, $post) { return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url; }, 10, 2); add_filter("post_type_archive_link", function($link, $post_type) { return $post_type === "article" ? home_url("/?post_type=article") : $link; }, 10, 2); add_filter("the_content", function($content) { global $post; if (!is_singular("article") || strpos($content, "") !== false) return $content; $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.

Nursing interventions and care plan for COPD

The most common cause of the chronic obstructive pulmonary disease (COPD) is damage or disorder to the lungs or the air tubes that carry air in and out of the lungs. COPD commonly causes difficulty breathing that gets worse over time. Besides the medical COPD care plans, individuals can manage the disease and its symptoms using the following home remedies when they are in Plano, TX, and nearby areas.

  • If a person smokes, it’s the right time to stop smoking. Most people with COPD smoke or used to smoke. Rather than breathing in smoke, such irritants as chemical fumes and dust can also cause COPD.Β 
  • Staying active lets you fight the main symptoms of COPD. You can manage the shortness of breath while simply increasing your fitness levels.
  • Maintaining proper body weight is also important for people with COPD.Β 
  • Avoiding such negative emotions as stress, depression, and anxiety should improve the person’s ability to manage health and quality of life.
  • The in-home nursing care plan for COPD can be as simple as doing some breathing exercises.Β 

 

Home therapy for COPD patients

Home therapy for COPD patients

Home therapy for COPD patients

The in-home COPD plan of care can also involve such simple techniques that include but are not limited to the following:

  • Developing muscle strength. People with COPD may have difficulty exercising because of breathing issues. However, avoiding exercising can only worsen COPD symptoms because it can result in muscle weakness.Β 
  • Water-based exercises can be a great alternative to regular workouts. A person with COPD disabilities can significantly improve their life quality by taking water-based exercises.
  • Taking Vitamin D allows COPD patients to increase the inflammation of the airways and reduce the body’s ability to clear bacteria.Β 
  • COPD patients can also use essential oils to open up the airways. They can use essential oils in a diffuser or apply them to the skin.Β 

 

Goals for COPD patients

The goals of COPD nursing care are to control symptoms, reduce exacerbations, improve respiratory capacity, and reduce mortality. In most cases, the goals align with the COPD therapies explained above. These include taking the actions aimed at:Β 

  • Finding a treatment plan to live with and stay on track;Β 
  • Creating an environment free of COPD triggers;Β 
  • Eating a COPD-friendly diet;
  • Exercising helps the whole body and the lungs in particular.Β 

 

COPD and speech therapy

Speech therapy can help patients with COPD manage their breathing difficulties and prevent the issues that can lead to pneumonia and bronchitis. A speech therapist checks the patient’s breathing and swallowing. Then, the specialist makes a plan to help a person swallow well, avoiding the risk of aspiration pneumonia. If you or your beloved person needs a professional speech therapist in Dallas, call the Aurora Home Health team.

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