// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "
π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!is_singular("article") || strpos($content, "") !== false) return $content;
$info = "π€ Author: admin | π
Date: " . get_the_date("Y-m-d H:i:s", $post->ID) . "
";
$nav = "";
return $info . $content . $nav . "";
}, 10);
We are here for your care.
SMS Privacy Policy β Aurora Home Health
At Aurora Home Health, we are committed to protecting your privacy and ensuring transparency in how we collect, use, and safeguard your personal informationβincluding any information provided through our SMS (text messaging) services.
Information We Collect via SMS
When you opt in to receive SMS messages from us, we may collect the following information:
Your name
Mobile phone number
Communication preferences
Responses to messages (e.g., confirmations, feedback)
Health-related communication relevant to your care (e.g., appointment reminders, wellness check-ins)
Text START to (469) 250-9910 to receive SMS messages from Aurora Home Health, including appointment reminders, care updates, and service notifications.
How We Use Your SMS Data
We use your information solely to:
Deliver SMS messages related to your care and services
Send appointment reminders, visit confirmations, care updates, and educational content
Respond to your requests (e.g., help commands or rescheduling)
Improve our patient communication services
We do not sell, rent, or share your SMS information with third parties for marketing purposes.
Data Security
All personal health information shared via SMS is handled in accordance with HIPAA regulations and industry best practices. However, please note that standard SMS messaging is not encrypted, and sensitive health data is limited in text communications to protect your privacy.
Opt-Out Option
You can opt out of receiving SMS messages at any time by replying STOP to any message. This will permanently unsubscribe your number from future SMS communications.
Help and Contact Information
To request assistance or update your communication preferences, reply HELP to any SMS message or contact us directly:
Aurora Home Health
Phone: 866-934-7060
Website:Β www.aurorahh.com
By using our SMS services, you acknowledge that you have read and agree to the terms outlined in this Privacy Policy.
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