From c9246482415417736783917014ffafea66c0727d Mon Sep 17 00:00:00 2001 From: Fredrik Johansson Date: Fri, 1 Sep 2023 16:13:12 +0200 Subject: [PATCH] feat: Add "Hide title" field to page appearance --- autoload/page-appearance.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autoload/page-appearance.php b/autoload/page-appearance.php index 0e821b9..bd5b308 100644 --- a/autoload/page-appearance.php +++ b/autoload/page-appearance.php @@ -33,6 +33,14 @@ function ($page_templates) use ($post_type_slug) { "key" => "group_page_appearance", "title" => __("Page appearance", "municipio-gatsby"), "fields" => [ + [ + "key" => "field_page_appearance_hide_title", + "label" => __("Hide title", "municipio-gatsby"), + "name" => "hide_title", + "type" => "true_false", + "default_value" => 0, + "show_in_graphql" => 1, + ], [ "key" => "field_page_appearance_template", "label" => __("Page template", "municipio-gatsby"),