[gnome-web-www: 54/68] Hide Banners menu from the dashboard
- From: Tom Tryfonidis <tomtryf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www: 54/68] Hide Banners menu from the dashboard
- Date: Tue, 24 Jan 2017 15:51:45 +0000 (UTC)
commit 3bb2c3d1be4d3005d1fed71238cfcc632e74d7c0
Author: Tom Tryfonidis <tomtryf gnome org>
Date: Tue Jan 10 13:05:49 2017 +0200
Hide Banners menu from the dashboard
We longer use this menu for now. Homepage featured image is handled by the Customizer menu.
Keep the code for now.
theme/functions.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/theme/functions.php b/theme/functions.php
index b98cdd4..7963469 100644
--- a/theme/functions.php
+++ b/theme/functions.php
@@ -196,6 +196,7 @@ add_action( 'init', function() {
'parent' => 'Parent Banner',
),
'public' => true,
+ 'show_ui' => false,
'exclude_from_search' => true,
'supports' => array(
'title', 'thumbnail', 'excerpt', 'revisions', 'author'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]