{"id":243,"date":"2025-04-11T05:54:33","date_gmt":"2025-04-11T05:54:33","guid":{"rendered":"https:\/\/tableberg.com\/?p=243"},"modified":"2025-04-26T16:31:34","modified_gmt":"2025-04-26T16:31:34","slug":"comment-supprimer-une-colonne-dun-tableau-dans-wordpress","status":"publish","type":"post","link":"https:\/\/tableberg.com\/fr\/how-to-delete-a-column-from-a-table-in-wordpress\/","title":{"rendered":"Comment supprimer une colonne d'un tableau dans WordPress"},"content":{"rendered":"<p>Similaire \u00e0 <a href=\"https:\/\/tableberg.com\/fr\/comment-supprimer-une-ligne-dun-tableau-dans-wordpress\/\" data-type=\"post\" data-id=\"237\" target=\"_blank\" rel=\"noreferrer noopener\">rang\u00e9e<\/a>Si vous souhaitez supprimer des colonnes sp\u00e9cifiques de vos tables WordPress, vous pouvez souvent le faire pour les rendre plus propres et moins encombrantes. <\/p>\n\n\n\n<p>Cet article vous montrera comment supprimer une colonne d'un tableau dans WordPress de deux mani\u00e8res simples.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#Delete Columns from a Table Created with the Default Table Block\">M\u00e9thode 1 : Supprimer des colonnes du bloc de tableaux par d\u00e9faut <\/a><\/li>\n\n\n\n<li><a href=\"#Delete-Columns-from-a-Table-Created-with-the-TableBerg-Plugin\">M\u00e9thode 2 : Supprimer des colonnes du bloc 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>Cr\u00e9er de belles tables <\/strong><br><strong>Avec l'\u00e9diteur de blocs<\/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\">Essai gratuit<\/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\/fr\/la-tarification\/\" target=\"_blank\" rel=\"noreferrer noopener\">Obtenir un Pro<\/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=\"Delete-Columns-from-a-Table-Created-with-the-Default-Table-Block\">M\u00e9thode 1 : Supprimer des colonnes du bloc de tableaux par d\u00e9faut<\/h2>\n\n\n\n<p>J'esp\u00e8re que vous avez un tableau pr\u00eat \u00e0 \u00eatre cr\u00e9\u00e9 avec le bloc de tableau par d\u00e9faut. Comme pour la m\u00e9thode pr\u00e9c\u00e9dente, placez votre curseur sur la colonne que vous souhaitez supprimer.<\/p>\n\n\n\n<p>Appuyer sur la touche <strong>\u00c9diter<\/strong> <strong>Tableau <\/strong>dans la barre d'outils. Cliquez ensuite sur l'ic\u00f4ne <strong>Supprimer la colonne<\/strong> option. La colonne s\u00e9lectionn\u00e9e est alors supprim\u00e9e. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1279\" height=\"652\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-created-by-the-table-block.png\" alt=\"Supprimer la colonne cr\u00e9\u00e9e par le bloc de table\" class=\"wp-image-246\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-created-by-the-table-block.png 1279w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-created-by-the-table-block-300x153.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-created-by-the-table-block-1024x522.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-created-by-the-table-block-768x392.png 768w\" sizes=\"auto, (max-width: 1279px) 100vw, 1279px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Delete-Columns-from-a-Table-Created-with-the-TableBerg-Plugin\">M\u00e9thode 2 : Supprimer des colonnes du plugin TableBerg<\/h2>\n\n\n\n<p>Les <a href=\"https:\/\/wordpress.org\/plugins\/tableberg\/\" data-type=\"link\" data-id=\"https:\/\/wordpress.org\/plugins\/tableberg\/\" target=\"_blank\" rel=\"noreferrer noopener\">Tableberg<\/a> vous permet de cr\u00e9er des tableaux polyvalents dans WordPress. Vous trouverez ci-dessous un tableau fictif cr\u00e9\u00e9 avec le plugin. Si votre tableau est construit avec le plugin, vous pouvez supprimer sa colonne de la mani\u00e8re suivante.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"653\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-the-table.png\" alt=\"Tableau fictif cr\u00e9\u00e9 avec le plugin TableBerg\" class=\"wp-image-163\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-the-table.png 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-the-table-300x153.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-the-table-1024x522.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-the-table-768x392.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Placez votre curseur sur la colonne que vous souhaitez supprimer. Appuyez sur la touche <strong>Ic\u00f4ne de modification du tableau<\/strong> dans la barre d'outils. Cliquez sur le bouton <strong>Supprimer la colonne<\/strong> apr\u00e8s cela. Cela supprimera la colonne en question du tableau.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1271\" height=\"653\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-from-the-table-created-with-the-TableBerg-plugin.png\" alt=\"Supprimer une colonne du tableau cr\u00e9\u00e9 avec le plugin TableBerg\" class=\"wp-image-244\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-from-the-table-created-with-the-TableBerg-plugin.png 1271w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-from-the-table-created-with-the-TableBerg-plugin-300x154.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-from-the-table-created-with-the-TableBerg-plugin-1024x526.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Delete-column-from-the-table-created-with-the-TableBerg-plugin-768x395.png 768w\" sizes=\"auto, (max-width: 1271px) 100vw, 1271px\" \/><\/figure>\n\n\n\n<p>Nous voulions supprimer le <strong>Notations<\/strong> du tableau. Vous pouvez voir que la ligne n'est plus dans le tableau.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"654\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-of-the-column-deleted-from-the-table-created-with-the-TableBerg-plugin.png\" alt=\"Aper\u00e7u de la colonne supprim\u00e9e du tableau cr\u00e9\u00e9 avec le plugin TableBerg\" class=\"wp-image-245\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-of-the-column-deleted-from-the-table-created-with-the-TableBerg-plugin.png 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-of-the-column-deleted-from-the-table-created-with-the-TableBerg-plugin-300x153.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-of-the-column-deleted-from-the-table-created-with-the-TableBerg-plugin-1024x523.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Preview-of-the-column-deleted-from-the-table-created-with-the-TableBerg-plugin-768x392.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-separator-thin\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Le mot de la fin !<\/h3>\n\n\n\n<p>Une fois la colonne supprim\u00e9e, votre tableau peut sembler \u00e9troit par rapport \u00e0 la marge de la page. Il se peut donc que vous deviez modifier l'alignement du tableau. Voici un article sur <a href=\"https:\/\/tableberg.com\/fr\/comment-aligner-les-tableaux-dans-wordpress\/\" data-type=\"link\" data-id=\"https:\/\/tableberg.com\/how-to-align-tables-in-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment aligner les tableaux dans WordPress<\/a>. <\/p>","protected":false},"excerpt":{"rendered":"<p>Similar to row, you may often want to delete specific columns from your WordPress tables to make them cleaner, reducing clutteredness. This article will show you how to delete a column from a table in WordPress in two easy ways. Method 1: Delete Columns from the Default Table Block Hope you have a table ready [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1664,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[7,130],"tags":[10,11,9],"class_list":["post-243","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-tableberg","tag-customize-table","tag-table-block","tag-tableberg"],"featured_image_src":"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/How-to-Create-a-Table-in-WordPress-No-Plugin-Required.png","author_info":{"display_name":"Istiak Rayhan","author_link":"https:\/\/tableberg.com\/fr\/author\/wpx_irayhan\/"},"_links":{"self":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":4,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":8313,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/posts\/243\/revisions\/8313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/media\/1664"}],"wp:attachment":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}