{"id":1332,"date":"2024-05-11T12:28:26","date_gmt":"2024-05-11T12:28:26","guid":{"rendered":"https:\/\/tableberg.com\/docs\/tableberg-one\/tableberg\/how-to-add-star-rating-in-wordpress\/"},"modified":"2025-06-17T19:54:37","modified_gmt":"2025-06-17T19:54:37","password":"","slug":"comment-ajouter-un-classement-par-etoiles-dans-wordpress","status":"publish","type":"docs","link":"https:\/\/tableberg.com\/fr\/docs\/how-to-add-star-rating-in-wordpress\/","title":{"rendered":"Bloc de classement par \u00e9toiles"},"content":{"rendered":"<p>Le bloc Classement par \u00e9toiles est utilis\u00e9 pour classer ou \u00e9valuer des \u00e9l\u00e9ments sur la base d'une \u00e9chelle, g\u00e9n\u00e9ralement de une \u00e0 cinq\/dix \u00e9toiles. En ajoutant le bloc Classement par \u00e9toiles \u00e0 un tableau, vous pouvez afficher la qualit\u00e9 et la popularit\u00e9 des \u00e9l\u00e9ments qui y sont r\u00e9pertori\u00e9s.<\/p>\n\n\n\n<p>Il n'est pas n\u00e9cessaire de r\u00e9diger de longues descriptions. En effet, les notes peuvent \u00e0 elles seules parler des centaines de mots pour aider les utilisateurs \u00e0 prendre des d\u00e9cisions. Cet article montrera comment ajouter le classement par \u00e9toiles dans les tables WordPress en utilisant la fonction <a title=\"TableBerg\" href=\"https:\/\/wordpress.org\/plugins\/tableberg\/\" target=\"_blank\" rel=\"noopener nofollow\">Tableberg<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00c9tape 01 : Trouver et ajouter le bloc d'\u00e9valuation par \u00e9toiles au tableau<\/h2>\n\n\n\n<p>Choisissez la cellule dans laquelle vous souhaitez ajouter le bloc de classement par \u00e9toiles. Cliquez sur le bouton <strong>bouton plus (+)<\/strong> \u00e0 l'int\u00e9rieur de cette cellule. <\/p>\n\n\n\n<p>Trouver le <strong>Bloc d'\u00e9toiles<\/strong> en tapant son nom dans le champ de recherche. Ajoutez-le \u00e0 la cellule une fois qu'il appara\u00eet ci-dessous.<\/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\/05\/Find-and-Add-the-Star-Rating-Block-to-the-Table.webp\" alt=\"Trouver et ajouter le bloc d&#039;\u00e9valuation par \u00e9toiles au tableau\" class=\"wp-image-1334\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Find-and-Add-the-Star-Rating-Block-to-the-Table.webp 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Find-and-Add-the-Star-Rating-Block-to-the-Table-300x153.webp 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Find-and-Add-the-Star-Rating-Block-to-the-Table-1024x523.webp 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Find-and-Add-the-Star-Rating-Block-to-the-Table-768x392.webp 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Les <strong>Bloc d'\u00e9toiles<\/strong> sera ajout\u00e9 instantan\u00e9ment au 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\/05\/The-Star-Rating-block-is-added.webp\" alt=\"Le bloc de classement par \u00e9toiles est ajout\u00e9\" class=\"wp-image-1335\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-is-added.webp 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-is-added-300x153.webp 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-is-added-1024x523.webp 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-is-added-768x392.webp 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u00c9tape 02 : Ajouter du contenu au bloc de classement par \u00e9toiles<\/h2>\n\n\n\n<p>Dans la barre lat\u00e9rale de droite, vous pouvez sp\u00e9cifier l'option <strong>nombre d'\u00e9toiles, valeur des \u00e9toiles, <\/strong>et<strong> taille de l'\u00e9toile<\/strong>.<\/p>\n\n\n\n<p>Ensuite, ajoutez une copie d'\u00e9valuation pour le bloc. Vous pouvez laisser la section d'\u00e9valuation vide si vous le souhaitez. <\/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\/05\/Add-Content-to-the-Star-Rating-Block.webp\" alt=\"Ajouter du contenu au bloc de classement par \u00e9toiles\" class=\"wp-image-1336\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Add-Content-to-the-Star-Rating-Block.webp 1280w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Add-Content-to-the-Star-Rating-Block-300x153.webp 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Add-Content-to-the-Star-Rating-Block-1024x523.webp 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Add-Content-to-the-Star-Rating-Block-768x392.webp 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<p>Vous pouvez voir que nous avons ajout\u00e9 du contenu au bloc. Nous avons d\u00e9fini la valeur de l'\u00e9toile et une copie.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"523\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-created-1024x523.png\" alt=\"\" class=\"wp-image-1337\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-created-1024x523.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-created-300x153.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-created-768x392.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/The-Star-Rating-block-created.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u00c9tape 03 : Styliser le bloc de classement par \u00e9toiles<\/h2>\n\n\n\n<p>Venez au <strong>Onglet Styles<\/strong>. A partir de l\u00e0, vous pouvez personnaliser le <strong>couleur de l'\u00e9toile <\/strong>et<strong> couleur du texte<\/strong>. Vous pouvez \u00e9galement personnaliser les <strong>rembourrage<\/strong> et <strong>marge<\/strong> du bloc.<\/p>\n\n\n\n<p>Comme le param\u00e8tre par d\u00e9faut convient \u00e0 notre table, nous n'avons pas modifi\u00e9 les configurations par d\u00e9faut.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"523\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Customize-the-Star-Rating-Block-1024x523.webp\" alt=\"\" class=\"wp-image-1338\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Customize-the-Star-Rating-Block-1024x523.webp 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Customize-the-Star-Rating-Block-300x153.webp 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Customize-the-Star-Rating-Block-768x392.webp 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Customize-the-Star-Rating-Block.webp 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Maintenant, en proc\u00e9dant de la m\u00eame mani\u00e8re, vous pouvez ajouter le fichier <strong>Bloc d'\u00e9toiles<\/strong> aux autres cellules du tableau.<\/p>\n\n\n\n<p>Les boutons sont un autre \u00e9l\u00e9ment puissant qui peut inciter les utilisateurs \u00e0 effectuer les actions souhait\u00e9es. Apprendre <a href=\"https:\/\/tableberg.com\/fr\/documents\/tableberg-one\/tableberg\/comment-ajouter-des-boutons-aux-tableaux-wordpress\/\" target=\"_blank\" rel=\"noopener\" title=\"comment ajouter des boutons \u00e0 WordPress\">comment ajouter des boutons \u00e0 WordPress<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tutoriel vid\u00e9o<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Ajouter des \u00e9toiles \u00e0 un tableau dans WordPress avec Tableberg\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/zwWgNLh1Ltc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>","protected":false},"excerpt":{"rendered":"<p>The Star Rating block is used to rank or rate items based on a scale, typically rating from one to five\/ten stars. By adding the Star Rating block to a table, you can display the quality and popularity of items listed on it. It eliminates the need to write lengthy descriptions. Because Ratings alone can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","footnotes":""},"doc_category":[94],"doc_tag":[],"class_list":["post-1332","docs","type-docs","status-publish","hentry","doc_category-sub-blocks"],"year_month":"2026-04","word_count":303,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Istiak Rayhan","author_nicename":"wpx_irayhan","author_url":"https:\/\/tableberg.com\/fr\/author\/wpx_irayhan\/"},"doc_category_info":[{"term_name":"Sub-Blocks","term_url":"https:\/\/tableberg.com\/fr\/docs-category\/sub-blocks\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/docs\/1332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/types\/docs"}],"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=1332"}],"version-history":[{"count":5,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/docs\/1332\/revisions"}],"predecessor-version":[{"id":9778,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/docs\/1332\/revisions\/9778"}],"wp:attachment":[{"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/media?parent=1332"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/doc_category?post=1332"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/tableberg.com\/fr\/wp-json\/wp\/v2\/doc_tag?post=1332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}