{"id":989,"date":"2026-11-10T05:09:55","date_gmt":"2026-11-10T05:09:55","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=brackets"},"modified":"2026-11-10T08:03:27","modified_gmt":"2026-11-10T08:03:27","slug":"brackets","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=brackets","title":{"rendered":"Brackets"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Square brackets denote arrays in code, cell references in some tools, and WordPress shortcodes like [contact_form].<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Shortcodes in square brackets add features to WordPress pages.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Typing \t<form class=\"dcw dcw-search\" role=\"search\" action=\"https:\/\/wiki.designcorner.co.ke\/\" method=\"get\">\n\t\t<label for=\"dcw-s-1\" class=\"screen-reader-text\">Search the knowledge base<\/label>\n\t\t<input id=\"dcw-s-1\" type=\"search\" name=\"s\" autocomplete=\"off\"\n\t\t\tplaceholder=\"Search or ask a question, e.g. why is my website slow?\"\n\t\t\trole=\"combobox\" aria-expanded=\"false\" aria-controls=\"dcw-s-1-r\" aria-autocomplete=\"list\">\n\t\t<input type=\"hidden\" name=\"dcw\" value=\"1\">\n\t\t<span class=\"dcw-search-hint\" aria-hidden=\"true\">\/<\/span>\n\t\t<span class=\"dcw-search-spin\" aria-hidden=\"true\"><\/span>\n\t\t\t\t<div class=\"dcw-results\" id=\"dcw-s-1-r\" role=\"listbox\" hidden><\/div>\n\t<\/form>\n\t on a page adds this knowledge base&#039;s search box.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If raw [shortcode] text shows on your site, the plugin providing it is inactive.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>The [ and ] symbols, used for lists, arrays and shortcodes.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[7],"dc_topic":[34],"class_list":["post-989","dc_term","type-dc_term","status-publish","hentry","dc_letter-b","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":1,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/989\/revisions"}],"predecessor-version":[{"id":1396,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/989\/revisions\/1396"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=989"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=989"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}