{"id":158,"date":"2016-06-01T15:33:21","date_gmt":"2016-06-01T14:33:21","guid":{"rendered":"http:\/\/blogs.bath.ac.uk\/fedstaff\/?p=158"},"modified":"2016-07-06T15:01:08","modified_gmt":"2016-07-06T14:01:08","slug":"macro-of-the-month-labels-list","status":"publish","type":"post","link":"https:\/\/blogs.bath.ac.uk\/fedstaff\/2016\/06\/01\/macro-of-the-month-labels-list\/","title":{"rendered":"Macro of the Month: Labels List"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><strong>Labels List<\/strong> is a very basic macro with one specific use. It is particularly useful where you have a large space with a lot of content, including multiple different items on a page, as it enables you to create a dynamic A-Z or alphabetised index to help visitors find what they want.<\/p>\n<h2>Application(s)<\/h2>\n<p><strong>Labels List<\/strong> has one function:<\/p>\n<ul>\n<li>makes an alphabetised list of the labels used in a space<\/li>\n<\/ul>\n<h2>How to add Labels List<\/h2>\n<p>Firstly...<\/p>\n<ul>\n<li>add labels to the pages of your wiki (click on the icon at the right hand side of the foot of the page)<\/li>\n<li>type in a label and click Add<\/li>\n<li>repeat this process until you have added all the label for the page<\/li>\n<li>repeat the process for attachments if you wish<\/li>\n<\/ul>\n<p>Then simply...<\/p>\n<ul>\n<li>Place you cursor where you want the <strong>Labels List<\/strong> macro to appear<\/li>\n<li>Click on Insert (in the tool bar above) then Other Macros from the drop-down menu<\/li>\n<li>In the pop-up window, type <em>label list<\/em> into the search box<\/li>\n<li>Set the variables up as you wish (you can, for instance, exclude some labels from appearing in the list)<\/li>\n<li>Click Save<\/li>\n<\/ul>\n<h2>How to use Labels List<\/h2>\n<p>Look at how labels could be added to the attachments in your space and\/or the pages themselves to enable visitors to find the materials they need. The addition of labels (and the availability of a labels list) is useful where:<\/p>\n<ul>\n<li>you have a large number of pages<\/li>\n<li>there are multiple items on a single page (which are not all reflected in the page title)<\/li>\n<li>some items in your space can be known by multiple names<\/li>\n<\/ul>\n<h2>Example<\/h2>\n<ul>\n<li>FED Staff Area: <a href=\"https:\/\/wiki.bath.ac.uk\/pages\/viewpage.action?pageId=95831574\">Index (A-Z)<\/a><\/li>\n<\/ul>\n<p><a href=\"http:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/06\/Capture.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-159 alignnone\" src=\"http:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/06\/Capture-300x149.jpg\" alt=\"Index\" width=\"596\" height=\"296\" srcset=\"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/06\/Capture-300x149.jpg 300w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/06\/Capture-768x381.jpg 768w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/06\/Capture-1024x508.jpg 1024w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/06\/Capture.jpg 1605w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/a><\/p>\n<p style=\"text-align: center\">(Click on image to enlarge)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Labels List is a very basic macro with one specific use. It is particularly useful where you have a large space with a lot of content, including multiple different items on a page, as it enables you to create...<\/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-158","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\/158","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=158"}],"version-history":[{"count":0,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}