{"id":6302,"date":"2025-08-13T13:41:20","date_gmt":"2025-08-13T11:41:20","guid":{"rendered":"https:\/\/www.open-user-map.com\/?post_type=ht_kb&#038;p=6302"},"modified":"2025-08-13T13:41:20","modified_gmt":"2025-08-13T11:41:20","slug":"how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor","status":"publish","type":"ht_kb","link":"https:\/\/www.open-user-map.com\/fr\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/","title":{"rendered":"Comment afficher les cat\u00e9gories de marqueurs sous forme de liste de cases \u00e0 cocher dans l'\u00e9diteur de WordPress"},"content":{"rendered":"<p>Par d\u00e9faut, le <strong>\"Cat\u00e9gories de marqueurs\"<\/strong> taxonomie (<code data-no-translation=\"\" data-no-auto-translation=\"\">oum-type<\/code>) utilis\u00e9 dans les <strong>Open User Map<\/strong> est non hi\u00e9rarchique, ce qui signifie qu'elle se comporte comme des balises, se pr\u00e9sentant comme un champ de saisie de texte dans l'\u00e9diteur o\u00f9 vous pouvez taper et s\u00e9parer les \u00e9l\u00e9ments par des virgules.<\/p>\n\n\n\n<p>Toutefois, dans certains cas, il est plus convivial d'afficher un <strong>liste de cases \u00e0 cocher<\/strong>comme la version standard de WordPress <strong>Cat\u00e9gories<\/strong> interface. Ce guide vous montre comment forcer WordPress \u00e0 afficher l'interface <code data-no-translation=\"\" data-no-auto-translation=\"\">oum-type<\/code> la taxonomie en tant que <strong>liste de cases \u00e0 cocher<\/strong>sans changer la structure sous-jacente de votre taxonomie ni modifier le plugin.<\/p>\n\n\n\n<div style=\"height:75px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83e\udde9 Comment mettre en \u0153uvre<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ouvrez la section <code data-no-translation=\"\" data-no-auto-translation=\"\">functions.php<\/code> fichier<br>(ou mieux : utiliser un <strong>plugin d'extraits de code<\/strong> pour que les modifications soient s\u00fbres et ind\u00e9pendantes du th\u00e8me).<br><\/li>\n\n\n\n<li>Ajoutez le code suivant :<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\" data-no-translation=\"\" data-no-auto-translation=\"\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#333545;color:#ebebe6\">PHP<\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code data-no-translation=\"\" data-no-auto-translation=\"\"><span class=\"line\"><span style=\"color: #F286C4\">function<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">oum_force_checkbox_ui_for_oum_type_taxonomy<\/span><span style=\"color: #F6F6F4\">() {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #F286C4\">global<\/span><span style=\"color: #F6F6F4\"> $wp_taxonomies;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #F286C4\">if<\/span><span style=\"color: #F6F6F4\"> (<\/span><span style=\"color: #62E884\">taxonomy_exists<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">oum-type<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\">)) {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        $wp_taxonomies&#91;<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">oum-type<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\">&#93;<\/span><span style=\"color: #F286C4\">-&gt;<\/span><span style=\"color: #F6F6F4\">hierarchical <\/span><span style=\"color: #F286C4\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">true<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">add_action<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">init<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\">,<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">oum_force_checkbox_ui_for_oum_type_taxonomy<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\">);<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd01 Qu'est-ce que cela fait ?<\/h2>\n\n\n\n<p>Cet extrait <strong>remplace le comportement de l'interface utilisateur<\/strong> de la <code data-no-translation=\"\" data-no-auto-translation=\"\">oum-type<\/code> taxonomie en demandant \u00e0 WordPress de la traiter comme une taxonomie hi\u00e9rarchique - <strong>uniquement \u00e0 des fins d'affichage<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Vos donn\u00e9es restent inchang\u00e9es.<\/li>\n\n\n\n<li>La taxonomie se comporte toujours comme un syst\u00e8me de balises sous le capot (plat, non imbriqu\u00e9).<\/li>\n\n\n\n<li>Dans l'\u00e9diteur d'articles, vous verrez maintenant une liste de cases \u00e0 cocher au lieu d'une entr\u00e9e libre.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Par d\u00e9faut, la taxonomie \"Cat\u00e9gories de marqueurs\" (oum-type) utilis\u00e9e dans Open User Map n'est pas hi\u00e9rarchique - cela signifie qu'elle se comporte comme des \u00e9tiquettes, s'affichant comme un champ de saisie de texte dans l'\u00e9diteur o\u00f9 vous pouvez taper et s\u00e9parer les \u00e9l\u00e9ments par des virgules. Cependant, dans certains cas, il est plus convivial d'afficher une liste de cases \u00e0 cocher, comme la ... <a href=\"https:\/\/www.open-user-map.com\/fr\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/\">Suite<\/a><\/p>","protected":false},"author":50,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[53],"ht-kb-tag":[117,179,58,178,57],"class_list":["post-6302","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-faq","ht_kb_tag-categories","ht_kb_tag-checkbox","ht_kb_tag-custom","ht_kb_tag-hierarchical","ht_kb_tag-style"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Display the Marker Categories as a Checkbox List in the WordPress Editor - Open User Map<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.open-user-map.com\/fr\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Display the Marker Categories as a Checkbox List in the WordPress Editor - Open User Map\" \/>\n<meta property=\"og:description\" content=\"By default, the &#8220;Marker Categories&#8221; taxonomy (oum-type) used in Open User Map is non-hierarchical \u2014 this means it behaves like tags, showing up as a text input field in the editor where you can type and separate items with commas. However, in some cases, it&#8217;s more user-friendly to show a checkbox list, like the standard &hellip; Continued\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.open-user-map.com\/fr\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/\" \/>\n<meta property=\"og:site_name\" content=\"Open User Map\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\\\/\"},\"author\":{\"name\":\"Daniel Sch\u00f6nherr\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#\\\/schema\\\/person\\\/d9c8cbe470ae2702b6de61e0f73a7402\"},\"headline\":\"How to Display the Marker Categories as a Checkbox List in the WordPress Editor\",\"datePublished\":\"2025-08-13T11:41:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\\\/\"},\"wordCount\":188,\"publisher\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#organization\"},\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\\\/\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\\\/\",\"name\":\"How to Display the Marker Categories as a Checkbox List in the WordPress Editor - Open User Map\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#website\"},\"datePublished\":\"2025-08-13T11:41:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.open-user-map.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Display the Marker Categories as a Checkbox List in the WordPress Editor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#website\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/\",\"name\":\"Open User Map\",\"description\":\"WordPress Map Plugin\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.open-user-map.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#organization\",\"name\":\"Open User Map\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/icon-256x256-1.png\",\"contentUrl\":\"https:\\\/\\\/www.open-user-map.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/icon-256x256-1.png\",\"width\":256,\"height\":256,\"caption\":\"Open User Map\"},\"image\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#\\\/schema\\\/person\\\/d9c8cbe470ae2702b6de61e0f73a7402\",\"name\":\"Daniel Sch\u00f6nherr\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Comment afficher les cat\u00e9gories de marqueurs sous forme de liste de cases \u00e0 cocher dans l'\u00e9diteur de WordPress - Open User Map","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.open-user-map.com\/fr\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/","og_locale":"fr_FR","og_type":"article","og_title":"How to Display the Marker Categories as a Checkbox List in the WordPress Editor - Open User Map","og_description":"By default, the &#8220;Marker Categories&#8221; taxonomy (oum-type) used in Open User Map is non-hierarchical \u2014 this means it behaves like tags, showing up as a text input field in the editor where you can type and separate items with commas. However, in some cases, it&#8217;s more user-friendly to show a checkbox list, like the standard &hellip; Continued","og_url":"https:\/\/www.open-user-map.com\/fr\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/","og_site_name":"Open User Map","twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/#article","isPartOf":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/"},"author":{"name":"Daniel Sch\u00f6nherr","@id":"https:\/\/www.open-user-map.com\/#\/schema\/person\/d9c8cbe470ae2702b6de61e0f73a7402"},"headline":"How to Display the Marker Categories as a Checkbox List in the WordPress Editor","datePublished":"2025-08-13T11:41:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/"},"wordCount":188,"publisher":{"@id":"https:\/\/www.open-user-map.com\/#organization"},"inLanguage":"fr-FR"},{"@type":"WebPage","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/","url":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/","name":"Comment afficher les cat\u00e9gories de marqueurs sous forme de liste de cases \u00e0 cocher dans l'\u00e9diteur de WordPress - Open User Map","isPartOf":{"@id":"https:\/\/www.open-user-map.com\/#website"},"datePublished":"2025-08-13T11:41:20+00:00","breadcrumb":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.open-user-map.com\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-display-the-marker-categories-as-a-checkbox-list-in-the-wordpress-editor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.open-user-map.com\/"},{"@type":"ListItem","position":2,"name":"How to Display the Marker Categories as a Checkbox List in the WordPress Editor"}]},{"@type":"WebSite","@id":"https:\/\/www.open-user-map.com\/#website","url":"https:\/\/www.open-user-map.com\/","name":"Open User Map","description":"Plugin WordPress Map","publisher":{"@id":"https:\/\/www.open-user-map.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.open-user-map.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.open-user-map.com\/#organization","name":"Open User Map","url":"https:\/\/www.open-user-map.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.open-user-map.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/09\/icon-256x256-1.png","contentUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/09\/icon-256x256-1.png","width":256,"height":256,"caption":"Open User Map"},"image":{"@id":"https:\/\/www.open-user-map.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.open-user-map.com\/#\/schema\/person\/d9c8cbe470ae2702b6de61e0f73a7402","name":"Daniel Sch\u00f6nherr"}]}},"_links":{"self":[{"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/ht-kb\/6302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/comments?post=6302"}],"version-history":[{"count":1,"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/ht-kb\/6302\/revisions"}],"predecessor-version":[{"id":6303,"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/ht-kb\/6302\/revisions\/6303"}],"wp:attachment":[{"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/media?parent=6302"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/ht-kb-category?post=6302"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.open-user-map.com\/fr\/wp-json\/wp\/v2\/ht-kb-tag?post=6302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}