{"id":184,"date":"2016-07-06T14:59:02","date_gmt":"2016-07-06T13:59:02","guid":{"rendered":"http:\/\/blogs.bath.ac.uk\/fedstaff\/?p=184"},"modified":"2016-07-06T14:59:02","modified_gmt":"2016-07-06T13:59:02","slug":"macro-of-the-month-children-display","status":"publish","type":"post","link":"https:\/\/blogs.bath.ac.uk\/fedstaff\/2016\/07\/06\/macro-of-the-month-children-display\/","title":{"rendered":"Macro of the month: Children display"},"content":{"rendered":"<h3>Introduction<\/h3>\n<p>Children display is another basic macro with one specific use. It is particularly useful for spaces with many nested pages ('child pages') which can be hidden from view; this macro enables you to help visitors to find those pages quickly.<\/p>\n<h3>Application(s)<\/h3>\n<p>Children display has one function:<\/p>\n<ul>\n<li>makes a live, dynamic list of pages that are nested under a chosen page (does not have to be the one where the macro is placed)<\/li>\n<\/ul>\n<h3>How to add Children display<\/h3>\n<ul>\n<li>Place you cursor where you want the <strong>Children display<\/strong> to appear<\/li>\n<li>Click on <strong>Insert<\/strong> (in the tool bar above) then <strong>Other Macros<\/strong> from the drop-down menu<\/li>\n<li>In the pop-up window, type <strong>children display<\/strong> into the search box<\/li>\n<li>Set the variables up as you wish (you can, for instance, choose to limit the level of nested pages that are displayed)<\/li>\n<li>Click <strong>Save<\/strong><\/li>\n<\/ul>\n<h3>How to use Children display<\/h3>\n<p>Look at how a list of the 'child' pages could be added to a page in your space to enable visitors to find the materials they need quickly. The addition of this macro is useful where:<\/p>\n<ul>\n<li>you have a large number of pages, many of them nested (so not easily found)<\/li>\n<li>you want a list of child pages (e.g. a contents list) to be dynamic to reflect frequent changes in the space<\/li>\n<\/ul>\n<h3>Example<\/h3>\n<p><a href=\"http:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/07\/childrendisplay.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-185 aligncenter\" src=\"http:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/07\/childrendisplay-300x133.jpg\" alt=\"children display\" width=\"374\" height=\"166\" srcset=\"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/07\/childrendisplay-300x133.jpg 300w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/07\/childrendisplay.jpg 730w\" sizes=\"auto, (max-width: 374px) 100vw, 374px\" \/><\/a><\/p>\n<p>(click on image to enlarge)<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Children display is another basic macro with one specific use. It is particularly useful for spaces with many nested pages ('child pages') which can be hidden from view; this macro enables you to help visitors to find those pages...<\/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-184","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\/184","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=184"}],"version-history":[{"count":0,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/posts\/184\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/media?parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/categories?post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/tags?post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}