From 40f326ecccbbd889e019835469a6cc1a0cb9a5fe Mon Sep 17 00:00:00 2001 From: "Valerio T." <30567406+valeriot30@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:55:15 +0200 Subject: [PATCH] fix: "tipologia documento" page --- .../tassonomia_tipi_doc_albo_pretorio.php | 2 +- .../tassonomie/tassonomia_tipi_documento.php | 4 +- taxonomy-tipi_documento.php | 68 +++++++++++++++++++ 3 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 taxonomy-tipi_documento.php diff --git a/inc/admin/tassonomie/tassonomia_tipi_doc_albo_pretorio.php b/inc/admin/tassonomie/tassonomia_tipi_doc_albo_pretorio.php index b2198ada..e5dc7ff6 100644 --- a/inc/admin/tassonomie/tassonomia_tipi_doc_albo_pretorio.php +++ b/inc/admin/tassonomie/tassonomia_tipi_doc_albo_pretorio.php @@ -25,7 +25,7 @@ function dci_register_taxonomy_tipi_doc_albo_pretorio() { 'show_ui' => true, 'show_admin_column' => true, 'query_var' => true, - 'has_archive' => false, //archive page + 'has_archive' => true, //archive page //'rewrite' => array( 'slug' => 'tipo-doc-albo-pretorio' ), 'capabilities' => array( 'manage_terms' => 'manage_tipi_doc_albo_pretorio', diff --git a/inc/admin/tassonomie/tassonomia_tipi_documento.php b/inc/admin/tassonomie/tassonomia_tipi_documento.php index ebe7fbed..ce6a4556 100644 --- a/inc/admin/tassonomie/tassonomia_tipi_documento.php +++ b/inc/admin/tassonomie/tassonomia_tipi_documento.php @@ -21,11 +21,11 @@ function dci_register_taxonomy_tipi_documento() { $args = array( 'hierarchical' => true, 'labels' => $labels, - 'public' => false, //enable to get term archive page + 'public' => true, //enable to get term archive page 'show_ui' => true, 'show_admin_column' => true, 'query_var' => true, - 'has_archive' => false, //archive page + 'has_archive' => true, //archive page //'rewrite' => array( 'slug' => 'tipo-documento' ), 'capabilities' => array( 'manage_terms' => 'manage_tipi_documento', diff --git a/taxonomy-tipi_documento.php b/taxonomy-tipi_documento.php new file mode 100644 index 00000000..b8af2122 --- /dev/null +++ b/taxonomy-tipi_documento.php @@ -0,0 +1,68 @@ + + +
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+

+

','

'); ?> +
+ +
+
+
+ + +
+
+ + +
+ + + + + +
+ +
+ +
+ + + + +
+
+ + + + +
+ +