{"id":357,"date":"2025-01-03T11:17:43","date_gmt":"2025-01-03T11:17:43","guid":{"rendered":"https:\/\/tableberg.com\/?p=357"},"modified":"2025-01-03T11:18:34","modified_gmt":"2025-01-03T11:18:34","slug":"come-aggiungere-unintestazione-a-una-tabella-in-wordpress","status":"publish","type":"post","link":"https:\/\/tableberg.com\/it\/how-to-add-a-header-to-a-table-in-wordpress\/","title":{"rendered":"Come aggiungere un'intestazione a una tabella in WordPress"},"content":{"rendered":"<p>L'intestazione di una tabella \u00e8 la riga superiore di una tabella. Fornisce un titolo alle informazioni contenute in ogni colonna. Mentre <a href=\"https:\/\/tableberg.com\/it\/come-creare-una-tabella-in-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">creazione di una tabella<\/a>Si tende a mettere in grassetto manualmente la riga superiore per trasmettere un segnale visivo delle informazioni contenute nelle rispettive colonne.<\/p>\n\n\n\n<p>L'intestazione della tabella fa la stessa cosa. Inoltre, contiene un tipo di codice HTML utile per i contenuti dal punto di vista SEO. Ora vi mostreremo come aggiungere un'intestazione a una tabella in WordPress.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Metodo 1<\/strong>: <a href=\"#Adding-a-Header-to-the-Default-Table-Block\">Aggiunta di un'intestazione al blocco tabella predefinito<\/a><\/li>\n\n\n\n<li><strong>Metodo 2<\/strong>: <a href=\"#Adding-a-Header-to-the-Tableberg-Block\">Aggiunta di un'intestazione al blocco Tableberg<\/a><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group has-border-color has-global-padding is-layout-constrained wp-container-core-group-is-layout-8db5ca72 wp-block-group-is-layout-constrained\" style=\"border-color:#671feb;border-style:solid;border-width:1px;border-radius:4px;padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--small);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--small)\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-505d3e6d wp-block-group-is-layout-flex\" style=\"padding-top:var(--wp--preset--spacing--small);padding-bottom:var(--wp--preset--spacing--small)\">\n<p style=\"font-size:clamp(18.959px, 1.185rem + ((1vw - 3.2px) * 1.175), 30px);\"><strong>Creare bellissimi tavoli <\/strong><br><strong>Con l'editor di blocchi<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-f2baa792 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background wp-element-button\" href=\"https:\/\/wordpress.org\/plugins\/tableberg\/\" style=\"background-color:#671feb\" target=\"_blank\" rel=\"noreferrer noopener\">Prova gratuita<\/a><\/div>\n\n\n\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/tableberg.com\/it\/determinazione-dei-prezzi\/\" target=\"_blank\" rel=\"noreferrer noopener\">Ottieni un professionista<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"540\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Tableberg.png\" alt=\"\" class=\"wp-image-1545\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Tableberg.png 540w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Tableberg-300x300.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Tableberg-150x150.png 150w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/figure>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Adding-a-Header-to-the-Default-Table-Block\">Metodo 1: Aggiunta di un'intestazione al blocco tabella predefinito<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Passo 1: selezionare il blocco tabella<\/h3>\n\n\n\n<p>Una volta creata una tabella con il metodo <a href=\"https:\/\/tableberg.com\/it\/come-utilizzare-il-blocco-tabella-di-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">Blocco tabella predefinito<\/a>selezionare la tabella facendo clic sull'icona Tabella nella barra degli strumenti. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"451\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Select-the-Table-Block-1024x451.png\" alt=\"\" class=\"wp-image-6449\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Select-the-Table-Block-1024x451.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Select-the-Table-Block-300x132.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Select-the-Table-Block-768x339.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Select-the-Table-Block-1536x677.png 1536w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Select-the-Table-Block-2048x903.png 2048w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Select-the-Table-Block-18x8.png 18w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Passo 2: Attivare la sezione dell'intestazione<\/h3>\n\n\n\n<p>Otterrete il <strong>Scheda Impostazioni<\/strong> nella barra laterale destra. \u00c8 sufficiente attivare il pulsante <strong>Sezione intestazione<\/strong> nella scheda Impostazioni.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"2638\" height=\"1130\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Enabling-the-Header-Section-in-the-Table-Block.png\" alt=\"\" class=\"wp-image-6450\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Enabling-the-Header-Section-in-the-Table-Block.png 2638w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Enabling-the-Header-Section-in-the-Table-Block-300x129.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Enabling-the-Header-Section-in-the-Table-Block-1024x439.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Enabling-the-Header-Section-in-the-Table-Block-768x329.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Enabling-the-Header-Section-in-the-Table-Block-1536x658.png 1536w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Enabling-the-Header-Section-in-the-Table-Block-2048x877.png 2048w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Enabling-the-Header-Section-in-the-Table-Block-18x8.png 18w\" sizes=\"auto, (max-width: 2638px) 100vw, 2638px\" \/><\/figure>\n\n\n\n<p>Vedrete il <strong>\u00e8 apparsa la sezione dell'intestazione<\/strong> sul tavolo. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"2638\" height=\"1138\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Header-Section.png\" alt=\"\" class=\"wp-image-6451\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Header-Section.png 2638w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Header-Section-300x129.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Header-Section-1024x442.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Header-Section-768x331.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Header-Section-1536x663.png 1536w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Header-Section-2048x883.png 2048w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Header-Section-18x8.png 18w\" sizes=\"auto, (max-width: 2638px) 100vw, 2638px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Passo 3: Aggiungere le etichette all'intestazione<\/h3>\n\n\n\n<p>Si pu\u00f2 notare che abbiamo aggiunto i titoli alle celle di intestazione della tabella. Non \u00e8 necessario mettere il grassetto manualmente, perch\u00e9 il grassetto viene automaticamente aggiunto.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"2640\" height=\"1146\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Headers-Labels.png\" alt=\"\" class=\"wp-image-6452\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Headers-Labels.png 2640w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Headers-Labels-300x130.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Headers-Labels-1024x445.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Headers-Labels-768x333.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Headers-Labels-1536x667.png 1536w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Headers-Labels-2048x889.png 2048w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Headers-Labels-18x8.png 18w\" sizes=\"auto, (max-width: 2640px) 100vw, 2640px\" \/><\/figure>\n\n\n<div class=\"wp-block-ub-divider ub_divider ub-divider-orientation-horizontal\" id=\"ub_divider_b69c5a73-418f-4fc2-8f46-1b3eacc23049\"><div class=\"ub_divider_wrapper\" style=\"position: relative; margin-bottom: 2px; width: 100%; height: 2px; \" data-divider-alignment=\"center\"><div class=\"ub_divider_line\" style=\"border-top: 2px solid #ccc; margin-top: 2px; \"><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"Adding-a-Header-to-the-Tableberg-Block\">Metodo 2: Aggiunta di un'intestazione al blocco Tableberg<\/h2>\n\n\n\n<p>Se la tabella \u00e8 stata creata con l'opzione <a href=\"https:\/\/wordpress.org\/plugins\/tableberg\/\" data-type=\"link\" data-id=\"https:\/\/wordpress.org\/plugins\/tableberg\/\" target=\"_blank\" rel=\"noreferrer noopener\">Tavolo di lavoro<\/a> \u00e8 possibile aggiungere un'intestazione allo stesso modo. <\/p>\n\n\n\n<p class=\"has-text-align-center has-background\" style=\"background-color:#ffe8c2\"><strong>Controlla anche<\/strong>: <a href=\"https:\/\/tableberg.com\/it\/documenti\/come-convertire-il-blocco-tabella-predefinito-in-blocco-tableberg\/\">Come convertire il blocco tabella predefinito in blocco Tableberg<\/a><\/p>\n\n\n\n<p>Selezionate prima la vostra tabella facendo clic sul pulsante <strong>Icona Tableberg <img loading=\"lazy\" decoding=\"async\" width=\"15\" height=\"15\" class=\"wp-image-58\" style=\"width: 15px;\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2023\/12\/Tableberg.png\" alt=\"\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2023\/12\/Tableberg.png 257w, https:\/\/tableberg.com\/wp-content\/uploads\/2023\/12\/Tableberg-150x150.png 150w\" sizes=\"auto, (max-width: 15px) 100vw, 15px\" \/><\/strong> (1). Dal <strong>Scheda Impostazioni<\/strong> (2), attivare la funzione <strong>Inserire l'intestazione<\/strong> (3) opzione.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"2594\" height=\"1358\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Inserting-header-to-the-Tableberg-Block.png\" alt=\"\" class=\"wp-image-1960\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Inserting-header-to-the-Tableberg-Block.png 2594w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Inserting-header-to-the-Tableberg-Block-300x157.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Inserting-header-to-the-Tableberg-Block-1024x536.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Inserting-header-to-the-Tableberg-Block-768x402.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Inserting-header-to-the-Tableberg-Block-1536x804.png 1536w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Inserting-header-to-the-Tableberg-Block-2048x1072.png 2048w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Inserting-header-to-the-Tableberg-Block-18x9.png 18w\" sizes=\"auto, (max-width: 2594px) 100vw, 2594px\" \/><\/figure>\n\n\n\n<p>Si vedr\u00e0 la sezione di intestazione attivata per la tabella. \u00c8 possibile aggiungere del testo per etichettare le colonne o aggiungere altri blocchi a piacere.<\/p>\n\n\n\n<p>\u00c8 anche possibile utilizzare la riga superiore come intestazione. \u00c8 sufficiente attivare l'opzione <strong>Creare l'intestazione della riga superiore<\/strong> opzione.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"2590\" height=\"1358\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Make-Top-Row-As-Header-in-the-Tableberg-Block.png\" alt=\"\" class=\"wp-image-1961\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Make-Top-Row-As-Header-in-the-Tableberg-Block.png 2590w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Make-Top-Row-As-Header-in-the-Tableberg-Block-300x157.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Make-Top-Row-As-Header-in-the-Tableberg-Block-1024x537.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Make-Top-Row-As-Header-in-the-Tableberg-Block-768x403.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Make-Top-Row-As-Header-in-the-Tableberg-Block-1536x805.png 1536w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Make-Top-Row-As-Header-in-the-Tableberg-Block-2048x1074.png 2048w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Make-Top-Row-As-Header-in-the-Tableberg-Block-18x9.png 18w\" sizes=\"auto, (max-width: 2590px) 100vw, 2590px\" \/><\/figure>\n\n\n\n<p>La riga superiore diventer\u00e0 l'intestazione.<\/p>\n\n\n\n<p>Se si desidera, \u00e8 possibile modificare il colore di sfondo dell'intestazione della tabella. Basta fare clic sul pulsante <strong>Scheda Stili<\/strong> (1) e modificare il <strong>Colore di sfondo dell'intestazione<\/strong> (2).<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Changing-Header-Background-Color-of-the-Table-1024x585.png\" alt=\"\" class=\"wp-image-1983\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Changing-Header-Background-Color-of-the-Table-1024x585.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Changing-Header-Background-Color-of-the-Table-300x171.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Changing-Header-Background-Color-of-the-Table-768x439.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Changing-Header-Background-Color-of-the-Table-1536x878.png 1536w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Changing-Header-Background-Color-of-the-Table-2048x1171.png 2048w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/07\/Changing-Header-Background-Color-of-the-Table-18x10.png 18w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<div class=\"wp-block-ub-divider ub_divider ub-divider-orientation-horizontal\" id=\"ub_divider_0b67e626-2796-4440-9092-5184dfd6a80a\"><div class=\"ub_divider_wrapper\" style=\"position: relative; margin-bottom: 2px; width: 100%; height: 2px; \" data-divider-alignment=\"center\"><div class=\"ub_divider_line\" style=\"border-top: 2px solid #ccc; margin-top: 2px; \"><\/div><\/div><\/div>\n\n\n<p>Leggi anche: <a href=\"https:\/\/tableberg.com\/it\/come-rendere-appiccicosa-lintestazione-di-una-tabella-in-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">Come rendere appiccicosa l'intestazione di una tabella in WordPress<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusione<\/h3>\n\n\n\n<p>\u00c8 quindi possibile aggiungere intestazioni alle tabelle di WordPress. Ricordate di mantenere le intestazioni descrittive ma concise, in modo che non occupino molto spazio. Se non sono chiare e significative, gli utenti non riusciranno a capire a prima vista lo scopo della colonna della tabella.<\/p>","protected":false},"excerpt":{"rendered":"<p>A table header is the top row of a table. It provides a title for information in each column. While creating a table, we tend to bold the top row manually to pass a visual signal of the information that respective columns contain. The table header does the same thing. Plus, it carries a kind [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6457,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[7],"tags":[10,11,9],"class_list":["post-357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-customize-table","tag-table-block","tag-tableberg"],"featured_image_src":"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/How-to-Add-a-Header-to-a-Table-in-WordPress.png","author_info":{"display_name":"Istiak Rayhan","author_link":"https:\/\/tableberg.com\/it\/author\/wpx_irayhan\/"},"_links":{"self":[{"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/comments?post=357"}],"version-history":[{"count":9,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/posts\/357\/revisions"}],"predecessor-version":[{"id":6460,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/posts\/357\/revisions\/6460"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/media\/6457"}],"wp:attachment":[{"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/media?parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/categories?post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tableberg.com\/it\/wp-json\/wp\/v2\/tags?post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}