{"id":238,"date":"2016-09-08T15:12:37","date_gmt":"2016-09-08T14:12:37","guid":{"rendered":"http:\/\/blogs.bath.ac.uk\/fedstaff\/?p=238"},"modified":"2016-10-05T09:09:35","modified_gmt":"2016-10-05T08:09:35","slug":"238","status":"publish","type":"post","link":"https:\/\/blogs.bath.ac.uk\/fedstaff\/2016\/09\/08\/238\/","title":{"rendered":"Macro of the Month: Search box"},"content":{"rendered":"<h3>Introduction<\/h3>\n<p><strong>Search box<\/strong> is another basic macro with one specific use. It enables visitors to find information on the space relating to their choice of search term<\/p>\n<h3>Application(s)<\/h3>\n<p>Search box has one function:<\/p>\n<ul>\n<li>allows you to create a search box for your space into which visitors can type their own search term<\/li>\n<\/ul>\n<h3>How to add Search Box<\/h3>\n<ul>\n<li>Place you cursor where you want the <strong>Search box<\/strong> macro to appear<\/li>\n<li>Click on Insert (in the tool bar above) then <strong>Other Macros<\/strong> from the drop-down menu<\/li>\n<li>In the pop-up window, type <em>search box<\/em> into the search box<\/li>\n<li>Set the variables up as you wish (you may wish to experiment with the settings)<\/li>\n<li>Click <strong>Save<\/strong><\/li>\n<\/ul>\n<h3>How to use Search Box<\/h3>\n<p>Bear in mind that different visitors will want to search in different ways. This gives visitors an alternative method of finding what they need, other than browsing through the left hand page tree or using the Index (if there is one). The more complex a space (greater number of pages, greater range of topics) the more useful the search box is to visitors.<\/p>\n<h3>Example<\/h3>\n<p><a href=\"https:\/\/wiki.bath.ac.uk\/display\/FEDSA\/Faculty+of+Engineering+and+Design+staff+area\">Faculty of Engineering and Design staff area<\/a><\/p>\n<p style=\"text-align: left\"><a href=\"http:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/08\/Capture.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-198 alignnone aligncenter\" src=\"http:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/08\/Capture-300x131.jpg\" alt=\"Capture\" width=\"300\" height=\"131\" srcset=\"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/08\/Capture-300x131.jpg 300w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/08\/Capture-768x336.jpg 768w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/08\/Capture-1024x448.jpg 1024w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/08\/Capture.jpg 1578w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>(click on image to enlarge)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Search box is another basic macro with one specific use. It enables visitors to find information on the space relating to their choice of search term Application(s) Search box has one function: allows you to create a search box...<\/p>\n","protected":false},"author":495,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[24],"tags":[30,56,41],"class_list":["post-238","post","type-post","status-publish","format-standard","hentry","category-traceys-macro-of-the-month","tag-confluence","tag-macro","tag-wiki"],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/posts\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/users\/495"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":0,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}