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

What is cardiac therapy

What is cardiac therapy

What is cardiac therapy

Cardiac therapy is a medically supervised program prescribed to individuals diagnosed with a heart condition or who have experienced a heart attack or open-heart surgery.Β  This comprehensive program helps patients recover from a heart attack or other heart problems. It offers many benefits that can improve the patient’s health and quality of life.
 

Benefits of cardiac rehabilitation

Whenever a person experiences a heart condition or experienced a cardiovascular event, cardiac rehabilitation in Dallas, TX, can help by providing such benefits as:Β 

  • Cardiac rehab helps you strengthen your heart and lungs;Β 
  • It lets you control your weight and lower your total cholesterol levels;Β 
  • Cardiovascular rehabilitation also helps you reduce the chances of experiencing another cardiac event or lung disease;Β 
  • Increased self-confidence is another notable benefit of cardiac rehabilitation;
  • Patients and their families are provided with the needed emotional support;
  • People can achieve an earlier return to work and daily activities.Β 

 

What does cardiac rehabilitation involve

What does cardiac rehabilitation involve

What does cardiac rehabilitation involve

As a rule, cardiac rehab lasts for 6-12 weeks. The participants typically attend three sessions per week. The duration of the cardiac rehabilitation program depends on many factors, which include the individual patient’s goals, the progress of recovery, or the physician’s recommendation.

During the cardiac rehab program, the team monitors the patient’s health conditions with an electrocardiograph (ECG) telemetry system, informing them of how the patient’s heart reacts and adapts to activity. Heart rehabilitation also lets patients learn how to take the pulse, determine their exercise intensity, and exercise at a level that allows them to receive maximum benefits.

During the cardiovascular rehabilitation sessions, the team monitors any shortness of breath a patient can experience while exercising. It involves using a small fingertip pulse oximeter to observe the patient’s blood oxygen level and monitor their heart rate.

Our heart program specialists provide a range of medical services that include but are not limited to:

 

Therapy after open heart surgery

Cardiac physical therapy is a customized outpatient program of exercise and education. The program is designed to help every patient improve their health and recover from a heart attack.Β 

Cardiac rehab often involves exercise training, emotional support, and education about lifestyle changes to reduce your heart disease risk, such as eating a heart-healthy diet, maintaining a healthy weight, and quitting smoking.
 

Cardiac rehabilitation near me

Cardiac rehabilitation near Dallas, TX

Cardiac rehabilitation near Dallas, TX

Whenever you start wondering, β€œhow can I find reliable and professional cardiac rehabilitation near me in Dallas, TX,” you can always rely on the professional and skilled help of the Aurora Home Health team. The goals of our cardiac rehabilitation team include establishing a plan to help patients regain strength, prevent their condition from worsening, reduce the risk of future heart problems, and improve health and quality of life.

We aim to provide high-quality home health services to our patients in the comfort of their homes. Our health care teams consist of nurses, occupational therapists, social workers, and dieticians working closely with every patient to create fully customized plans for them.

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