{"id":142,"date":"2016-05-03T13:27:29","date_gmt":"2016-05-03T12:27:29","guid":{"rendered":"http:\/\/blogs.bath.ac.uk\/fedstaff\/?p=142"},"modified":"2016-05-03T13:27:29","modified_gmt":"2016-05-03T12:27:29","slug":"macro-of-the-month-excerptexcerpt-include","status":"publish","type":"post","link":"https:\/\/blogs.bath.ac.uk\/fedstaff\/2016\/05\/03\/macro-of-the-month-excerptexcerpt-include\/","title":{"rendered":"Macro of the Month: Excerpt\/Excerpt Include"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p><strong>Excerpt Include<\/strong> is a macro which has to be used in combination with the macro <strong>Excerpt<\/strong>.<\/p>\n<p><strong>Excerpt<\/strong> is used to define part of a page which you would like to include in additional places. <strong>Excerpt Include<\/strong>\u00a0is used to define where that except will appear<\/p>\n<h2>Application(s)<\/h2>\n<p><strong>Excerpt Include<\/strong> has one feature:<\/p>\n<ul>\n<li>displays the section defined by the <strong>Excerpt<\/strong> macro in one or more additional places<\/li>\n<\/ul>\n<h2>How to add Excerpt\/Excerpt Include<\/h2>\n<p>This is a two-stage process as you have to set up two macros.<\/p>\n<p>A. To add <strong>Excerpt<\/strong><\/p>\n<p>Simply...<\/p>\n<ul>\n<li>Place your cursor just above or below the material you want to have appear on another page (as well as this one)<\/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>excerpt<\/em> into the search box<\/li>\n<li>'Cut and paste' or 'drag and drop' the material you want to have appear on another page into the Excerpt area.<\/li>\n<li>Click Save<\/li>\n<\/ul>\n<p>B. To add\u00a0<strong>Excerpt Include<\/strong><\/p>\n<p>Simply...<\/p>\n<ul>\n<li>Place your cursor where you want the excerpt 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>excerpt include<\/em> into the search box<\/li>\n<li>Indicate the page location of the except you want to use<\/li>\n<li>Click Save<\/li>\n<\/ul>\n<h2>How to use Excerpt\/Excerpt Include<\/h2>\n<p>Consider using this where it would be useful to:<\/p>\n<ul>\n<li>have material that appears on more than one page be up-datable in one place<\/li>\n<li>have active material (e.g. tasks lists) that appear in more than one place remain in sync<\/li>\n<\/ul>\n<h2>Example<\/h2>\n<p>The buttons at the top of the pages on Faculty of Engineering and Design staff area wiki (<a href=\"https:\/\/wiki.bath.ac.uk\/display\/FEDSA\/Faculty+of+Engineering+and+Design+staff+area\" target=\"_blank\">https:\/\/wiki.bath.ac.uk\/display\/FEDSA\/Faculty+of+Engineering+and+Design+staff+area<\/a>)<\/p>\n<figure id=\"attachment_143\" aria-describedby=\"caption-attachment-143\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/04\/Capture.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"  wp-image-143 size-large\" src=\"http:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/04\/Capture-1024x161.jpg\" alt=\"Buttons\" width=\"1024\" height=\"161\" srcset=\"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/04\/Capture-1024x161.jpg 1024w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/04\/Capture-300x47.jpg 300w, https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-content\/uploads\/sites\/109\/2016\/04\/Capture.jpg 1644w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-143\" class=\"wp-caption-text\">(click on image to enlarge)<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Excerpt Include is a macro which has to be used in combination with the macro Excerpt. Excerpt is used to define part of a page which you would like to include in additional places. Excerpt Include\u00a0is used to define...<\/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-142","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\/142","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=142"}],"version-history":[{"count":0,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.bath.ac.uk\/fedstaff\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}