WIP
This commit is contained in:
@@ -40,7 +40,7 @@ return [
|
||||
"custom-post-types" => [
|
||||
[
|
||||
"slug" => "team-member",
|
||||
"archive" => "true",
|
||||
"archive" => true,
|
||||
"options" => [
|
||||
"supports" => ["thumbnail", "title", "editor"]
|
||||
],
|
||||
|
||||
@@ -326,7 +326,7 @@ class Site
|
||||
|
||||
$options = $cpt['options'] ?? [];
|
||||
if (isset($cpt["archive"]) && $cpt["archive"]) {
|
||||
$options["has_archive"] = $this->humanize($cpt["slug"], true);
|
||||
$options["has_archive"] = Util::slugify($this->humanize($cpt["slug"], true));
|
||||
}
|
||||
$names = $this->generateLabels($cpt['slug']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user