{"id":391,"date":"2025-01-06T05:19:03","date_gmt":"2025-01-06T05:19:03","guid":{"rendered":"https:\/\/tableberg.com\/?p=391"},"modified":"2025-01-06T05:19:08","modified_gmt":"2025-01-06T05:19:08","slug":"comment-ajouter-une-ligne-a-un-tableau-dans-wordpress","status":"publish","type":"post","link":"https:\/\/tableberg.com\/fr\/how-to-add-a-row-to-a-table-in-wordpress\/","title":{"rendered":"Comment ajouter une ligne \u00e0 un tableau dans WordPress"},"content":{"rendered":"<p>Une ligne est une section horizontale d'un tableau, qui contient des donn\u00e9es et des informations sp\u00e9cifiques pour chaque colonne. Il existe plusieurs raisons de vouloir ajouter de nouvelles lignes \u00e0 un tableau existant.<\/p>\n\n\n\n<p>L'une des raisons les plus courantes est l'insertion de nouvelles donn\u00e9es ou d'un nouveau contenu qui doit \u00eatre inclus dans le tableau. Cet article vous montrera comment ajouter une ligne \u00e0 un tableau dans WordPress.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>M\u00e9thode 1 : <a href=\"http:\/\/Adding-a-Row-to-the-Default-Table-Block\">Ajout d'une ligne au bloc de tableau par d\u00e9faut<\/a><\/li>\n\n\n\n<li>M\u00e9thode 2 : <a href=\"http:\/\/Adding-a-Row-to-the-Tableberg-Block\">Ajout d'une ligne au 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=\"Adding-a-Row-to-the-Default-Table-Block\">M\u00e9thode 1 : Ajout d'une ligne au bloc de tableau par d\u00e9faut<\/h2>\n\n\n\n<p>Cliquez sur la cellule avant ou apr\u00e8s laquelle vous souhaitez ajouter une nouvelle ligne. Cliquez sur le bouton <strong>Modifier le tableau<\/strong> dans la barre d'outils. S\u00e9lectionnez l'option <strong>Ins\u00e9rer une ligne avant<\/strong> ou <strong>Ins\u00e9rer une ligne apr\u00e8s<\/strong> sur la liste.<\/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\/Add-row-to-a-default-table-in-WordPress.png\" alt=\"Ajouter une ligne \u00e0 un tableau par d\u00e9faut dans WordPress\" class=\"wp-image-392\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Add-row-to-a-default-table-in-WordPress.png 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Add-row-to-a-default-table-in-WordPress-300x153.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Add-row-to-a-default-table-in-WordPress-1024x522.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Add-row-to-a-default-table-in-WordPress-768x392.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Vous pouvez voir qu'un nouveau tableau a \u00e9t\u00e9 cr\u00e9\u00e9. Vous pouvez maintenant ajouter des informations \u00e0 ses cellules.<\/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\/Row-added-to-the-default-table-in-WordPress.png\" alt=\"Ligne ajout\u00e9e au tableau par d\u00e9faut dans WordPress\" class=\"wp-image-393\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Row-added-to-the-default-table-in-WordPress.png 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Row-added-to-the-default-table-in-WordPress-300x153.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Row-added-to-the-default-table-in-WordPress-1024x522.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Row-added-to-the-default-table-in-WordPress-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<h2 class=\"wp-block-heading\" id=\"Adding-a-Row-to-the-Tableberg-Block\">M\u00e9thode 2 : Ajout d'une ligne au bloc Tableberg<\/h2>\n\n\n\n<p>Ce processus est similaire \u00e0 la m\u00e9thode pr\u00e9c\u00e9dente. Cliquez sur une cellule. Appuyez sur la touche <strong>Modifier le tableau<\/strong> dans la barre d'outils. S\u00e9lectionnez l'option <strong>Ins\u00e9rer une ligne avant<\/strong> ou <strong>Ins\u00e9rer une ligne apr\u00e8s<\/strong> sur la liste.<\/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\/Add-a-row-to-a-table-created-with-TableBerg.png\" alt=\"Ajouter une ligne \u00e0 un tableau cr\u00e9\u00e9 avec TableBerg\" class=\"wp-image-394\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Add-a-row-to-a-table-created-with-TableBerg.png 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Add-a-row-to-a-table-created-with-TableBerg-300x153.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Add-a-row-to-a-table-created-with-TableBerg-1024x522.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Add-a-row-to-a-table-created-with-TableBerg-768x392.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Vous verrez qu'une nouvelle ligne a \u00e9t\u00e9 cr\u00e9\u00e9e \u00e0 l'emplacement de votre choix. Ajoutez maintenant du contenu \u00e0 ses cellules.<\/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\/Row-added-to-the-table-created-with-TableBerg.png\" alt=\"Ligne ajout\u00e9e au tableau cr\u00e9\u00e9 avec TableBerg\" class=\"wp-image-395\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Row-added-to-the-table-created-with-TableBerg.png 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Row-added-to-the-table-created-with-TableBerg-300x153.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Row-added-to-the-table-created-with-TableBerg-1024x522.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/01\/Row-added-to-the-table-created-with-TableBerg-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\">Conclusion<\/h3>\n\n\n\n<p>L'ajout d'une nouvelle ligne \u00e0 un tableau existant n'a pas d'incidence sur la disposition de ses cellules. Il est donc pr\u00e9f\u00e9rable d'ajouter des lignes plut\u00f4t que de cr\u00e9er de nouvelles colonnes. Continuez \u00e0 explorer notre site web pour d\u00e9couvrir d'autres articles int\u00e9ressants. <\/p>\n\n\n\n<p><strong>Articles connexes : <\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/tableberg.com\/fr\/comment-supprimer-une-ligne-dun-tableau-dans-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment supprimer une ligne d'un tableau<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tableberg.com\/fr\/documents\/comment-modifier-la-hauteur-des-lignes-dun-tableau\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment modifier la hauteur des lignes d'un tableau<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tableberg.com\/fr\/documents\/comment-deplacer-une-ligne-colonne\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment d\u00e9placer une ligne\/colonne<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tableberg.com\/fr\/documents\/comment-dupliquer-une-ligne-colonne\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment dupliquer une ligne\/colonne ?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tableberg.com\/fr\/documents\/comment-modifier-la-couleur-darriere-plan-dune-ligne-individuelle\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment modifier la couleur d'arri\u00e8re-plan d'une ligne ?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tableberg.com\/fr\/documents\/comment-modifier-la-bordure-dune-ligne-individuelle\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment modifier la bordure (couleur et rayon) d'une ligne ?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tableberg.com\/fr\/comment-ajouter-une-colonne-a-un-tableau-dans-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">Comment ajouter une colonne \u00e0 un tableau <\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>A row is a horizontal section on a table, covering specific data and information for respective columns. There are several reasons why you may want to add new rows to an existing table. One common reason is to insert new data or content that needs to be included in the table. This article will show [&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":[8,10,9],"class_list":["post-391","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-create-a-table","tag-customize-table","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\/fr\/author\/wpx_irayhan\/"},"_links":{"self":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/posts\/391","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=391"}],"version-history":[{"count":4,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":6595,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/posts\/391\/revisions\/6595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/media\/6457"}],"wp:attachment":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/tags?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}