diff --git a/modules/calendar/calendar.php b/modules/calendar/calendar.php index 207775f0..7f5ca0c2 100644 --- a/modules/calendar/calendar.php +++ b/modules/calendar/calendar.php @@ -2106,8 +2106,9 @@ public function content_calendar_customize_filter_form() { $filter_index = 0; foreach ($filters as $filter_group => $filter_datas) : $filter_index++; + $hidden_style = empty($filter_datas['filters']) ? 'display: none;' : ''; ?> -
+
@@ -2136,7 +2137,7 @@ public function content_calendar_customize_filter_form() {
-
+
$filter_label) : $active_class = (in_array($filter_name, $enabled_filters)) ? 'active-item' : ''; diff --git a/modules/content-board/content-board.php b/modules/content-board/content-board.php index 67deb13d..405a5494 100644 --- a/modules/content-board/content-board.php +++ b/modules/content-board/content-board.php @@ -1202,8 +1202,9 @@ public function content_board_customize_column_form() { $column_index = 0; foreach ($columns as $column_group => $column_datas) : $column_index++; + $hidden_style = empty($column_datas['columns']) ? 'display: none;' : ''; ?> -
+
@@ -1232,7 +1233,7 @@ public function content_board_customize_column_form() {
-
+
$column_label) : $active_class = (in_array($column_name, $enabled_columns)) ? 'active-item' : ''; @@ -1350,8 +1351,9 @@ public function content_board_customize_filter_form() { $filter_index = 0; foreach ($filters as $filter_group => $filter_datas) : $filter_index++; + $hidden_style = empty($filter_datas['filters']) ? 'display: none;' : ''; ?> -
+
@@ -1380,7 +1382,7 @@ public function content_board_customize_filter_form() {
-
+
$filter_label) : $active_class = (in_array($filter_name, $enabled_filters)) ? 'active-item' : ''; diff --git a/modules/content-overview/content-overview.php b/modules/content-overview/content-overview.php index 628611d8..5b5b05a4 100644 --- a/modules/content-overview/content-overview.php +++ b/modules/content-overview/content-overview.php @@ -1227,8 +1227,9 @@ public function content_overview_customize_column_form() { $column_index = 0; foreach ($columns as $column_group => $column_datas) : $column_index++; + $hidden_style = empty($column_datas['columns']) ? 'display: none;' : ''; ?> -
+
@@ -1257,7 +1258,7 @@ public function content_overview_customize_column_form() {
-
+
$column_label) : $active_class = (in_array($column_name, $enabled_columns)) ? 'active-item' : ''; @@ -1375,8 +1376,9 @@ public function content_overview_customize_filter_form() { $filter_index = 0; foreach ($filters as $filter_group => $filter_datas) : $filter_index++; + $hidden_style = empty($filter_datas['filters']) ? 'display: none;' : ''; ?> -
+
@@ -1405,7 +1407,7 @@ public function content_overview_customize_filter_form() {
-
+
$filter_label) : $active_class = (in_array($filter_name, $enabled_filters)) ? 'active-item' : '';