{"id":858,"date":"2025-08-24T05:48:00","date_gmt":"2025-08-23T20:48:00","guid":{"rendered":"https:\/\/touhyo.com\/blog\/?p=858"},"modified":"2025-08-25T00:55:05","modified_gmt":"2025-08-24T15:55:05","slug":"infinitely-expandable-menu","status":"publish","type":"post","link":"https:\/\/touhyo.com\/blog\/en\/infinitely-expandable-menu\/","title":{"rendered":"Infinitely expandable menu"},"content":{"rendered":"\n<p>An important additional button on the user interface. The voting system needs to be designed so that users can freely add items if the number of candidates changes.<\/p>\n\n\n\n<p>This is controlled by the &#8220;<strong>Add an item<\/strong>&#8221; option.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"163\" src=\"https:\/\/touhyo.com\/blog\/wp-content\/uploads\/2025\/08\/infinitely-expandable-menu-01-en.png\" alt=\"\" class=\"wp-image-908\"\/><\/figure><\/div>\n\n\n<p>When you actually click on the link, the numbers will increase in order from &#8220;options3.&#8221;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"296\" src=\"https:\/\/touhyo.com\/blog\/wp-content\/uploads\/2025\/08\/infinitely-expandable-menu-02-en.png\" alt=\"\" class=\"wp-image-909\"\/><\/figure><\/div>\n\n\n<p>If options3 is removed from the candidates, options4 will be rechecked as the third option, so options3 and 4 will appear side by side. I will explain how it works.<\/p>\n\n\n\n<p>\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<br>\u30fboptions3 <strong>\u2190 <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Delete with the trash can icon<\/mark><\/strong><br>\u30fboptions4<br>\u30fboptions5<br>\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<\/p>\n\n\n\n<p>The above &#8220;options3&#8221; has been deleted, as shown below.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"252\" src=\"https:\/\/touhyo.com\/blog\/wp-content\/uploads\/2025\/08\/infinitely-expandable-menu-03-en.png\" alt=\"\" class=\"wp-image-910\"\/><\/figure><\/div>\n\n\n<p>Of course, there is no limit to the number of candidates, so you can add as many as you like. Until recently, there was no function to recheck the numbers, so we made some minor adjustments to improve usability.<\/p>\n\n\n\n<p>Please take this opportunity to try it out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An important additional button on the user interface. The voting system needs to be designed so that users can freely add items if the number of candidates changes. This is controlled by the &#8220;Add an item&#8221; option. When you actually click on the link, the numbers will increase in order from &#8220;options3.&#8221; If options3 is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/touhyo.com\/blog\/?p=855","footnotes":""},"categories":[1],"tags":[],"class_list":["post-858","post","type-post","status-publish","format-standard","hentry","category-memo","en-US"],"_links":{"self":[{"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/posts\/858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/comments?post=858"}],"version-history":[{"count":13,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/posts\/858\/revisions"}],"predecessor-version":[{"id":923,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/posts\/858\/revisions\/923"}],"wp:attachment":[{"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/media?parent=858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/categories?post=858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/tags?post=858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}