From b36ae48eaf323e4df94a72d76ba49c7c805482ad Mon Sep 17 00:00:00 2001 From: Gabriel de Tassigny Date: Mon, 18 May 2026 10:18:38 +0200 Subject: [PATCH 1/2] Add collapsible behavior to term edit page --- .../taxonomy-term-transformation-fields.php | 64 +++++++++++-------- .../taxonomy-transformation-fields.php | 17 +++-- src/css/components/_settings.scss | 22 ++++--- src/js/components/taxonomies.js | 51 ++++++++------- 4 files changed, 93 insertions(+), 61 deletions(-) diff --git a/php/templates/taxonomy-term-transformation-fields.php b/php/templates/taxonomy-term-transformation-fields.php index 20c75383b..5a66bd131 100644 --- a/php/templates/taxonomy-term-transformation-fields.php +++ b/php/templates/taxonomy-term-transformation-fields.php @@ -18,32 +18,44 @@ $label = $tax_object->labels->singular_name; ?> taxonomy_fields as $context => $set ) : ?> - - -

- -

- - - - - - - - - set_param( 'title', null ); ?> - set_param( 'tooltip_text', null ); ?> - get_component()->render( true ); ?> + + + + +
+

+ +
- + + + + + + + + + set_param( 'title', null ); ?> + set_param( 'tooltip_text', null ); ?> + get_component()->render( true ); ?> + + + + diff --git a/php/templates/taxonomy-transformation-fields.php b/php/templates/taxonomy-transformation-fields.php index 63146ff4b..86f44ebcc 100644 --- a/php/templates/taxonomy-transformation-fields.php +++ b/php/templates/taxonomy-transformation-fields.php @@ -33,17 +33,26 @@ $cloudinary = get_plugin_instance(); ?> -
-
+
+

singular_name ) ); ?>

- + singular_name ); + ?> +
-