Skip to content

Commit

Permalink
feat: Add "Hide title" field to page appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfredrik committed Sep 1, 2023
1 parent 62b7842 commit c924648
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions autoload/page-appearance.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit c924648

Please sign in to comment.