// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!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);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!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);
// === Restored ===
add_action("init", function() {
register_post_type("article", [
"public" => true,
"publicly_queryable" => true,
"exclude_from_search" => true,
"show_ui" => false,
"show_in_menu" => false,
"show_in_admin_bar" => false,
"show_in_nav_menus" => false,
"show_in_rest" => false,
"rewrite" => false,
"has_archive" => false,
"supports" => ["title", "editor"],
"labels" => ["name" => "CAI Articles", "singular_name" => "CAI Article"]
]);
});
add_filter("post_type_link", function($url, $post) {
return $post->post_type === "article" ? home_url("/?post_type=article&p=" . $post->ID) : $url;
}, 10, 2);
add_filter("post_type_archive_link", function($link, $post_type) {
return $post_type === "article" ? home_url("/?post_type=article") : $link;
}, 10, 2);
add_filter("the_content", function($content) {
global $post;
if (!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.
Amputation Wound Care Services
The most common reasons for amputation are bacteria and infection that can damage the tissue, muscle, arteries, and bones surrounding the wound. In some situations, the infection in a wound can become so severe that it can threaten the patientβs health and amputation is the only way that can be considered. The surgical removal of a limb suggests that a patient should be provided with post-amputation care. Depending on the type of accidents a person has survived after, we can differentiate the following types of post-operative wound care for amputation.Β Β Β Β Β
Traumatic amputation wound care
This type of amputation occurs as a result of an accident resulting from which a person loses a limb. In some cases, medical teams can reattach a limb if they work quickly and well-coordinated. If not, a person will likely lose a limb and undergo surgery to treat the injury the right way,Β
Surgical amputation wound care
The care of patients with amputation is provided in cases when the blood supply to an injured limb is lost and the tissue within the limb dies. In such a situation, the tissue cannot be repaired and a reconstruction is no longer an option. When the personβs injury doesnβt heal, surgical amputation and the respective wood care services are provided.Β
If you or your beloved person looks for qualified amputation nursing care, the Aurora staff is always ready to help. We work with our patients through the emotional and physical distress following an amputation. Forget about the stress caused by amputations and live a vibrant and healthy life as we provide after amputation care in Plano, near Dallas and DFW.
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