From f7b3afa247804cae28d9e7f1b32c60e446cb23aa Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Wed, 28 Dec 2022 19:01:40 +0100 Subject: [PATCH] enable archive for this custom post --- includes/custom-post-type-ajuts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/custom-post-type-ajuts.php b/includes/custom-post-type-ajuts.php index 9b22888..bba3977 100644 --- a/includes/custom-post-type-ajuts.php +++ b/includes/custom-post-type-ajuts.php @@ -74,7 +74,7 @@ 'menu_position' => 5, 'menu_icon' => 'dashicons-book', 'can_export' => true, - 'has_archive' => 'true', + 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'post',