{"id":142,"date":"2014-01-23T18:59:15","date_gmt":"2014-01-23T18:59:15","guid":{"rendered":"https:\/\/blogs.ncl.ac.uk\/t4\/?p=142"},"modified":"2016-11-09T10:23:17","modified_gmt":"2016-11-09T10:23:17","slug":"news-and-events","status":"publish","type":"post","link":"https:\/\/blogs.ncl.ac.uk\/t4\/2014\/01\/23\/news-and-events\/","title":{"rendered":"News and Events, Sorting and Archiving Content"},"content":{"rendered":"<p>Most content on your website is added using the\u00a0<a title=\"Adding and amending Content.\" href=\"https:\/\/blogs.ncl.ac.uk\/t4\/2014\/01\/15\/adding-and-amending-content\/\">All Purpose Content<\/a>\u00a0template type. Other content templates are available for <a title=\"People Profiles and Staff Lists\" href=\"https:\/\/blogs.ncl.ac.uk\/t4\/2014\/01\/23\/people-profiles-and-staff-lists\/\">Staff Profiles<\/a>, News and Events, etc.<\/p>\n<p>This page discusses the <strong>News<\/strong> and <strong>Events<\/strong> templates &#8211; both behave in a very similar way but have different selections of fields to display. The examples will be from the News template.<\/p>\n<p>This page also discusses <strong>sorting content<\/strong>, setting <strong>archive<\/strong> and <strong>expiry dates<\/strong> that are particularly relevant to sites which have a high turnover of news, but the controls discussed will work on all kinds of content.<\/p>\n<h2>News and Events<\/h2>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.17.18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-143\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.17.18-300x172.png\" alt=\"Add News and Events\" width=\"300\" height=\"172\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.17.18-300x172.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.17.18-1024x590.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.17.18-500x288.png 500w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.17.18.png 1050w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-144\" style=\"color: #333333;font-style: normal\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.19.24-218x300.png\" alt=\"News Content Types\" width=\"218\" height=\"300\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.19.24-218x300.png 218w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.19.24.png 254w\" sizes=\"auto, (max-width: 218px) 100vw, 218px\" \/><\/p>\n<p>Click <strong>Add Content<\/strong>\u00a0using the yellow dropdown menu to the right of your News section and choose the News Template from the list that appears.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.23.19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-145\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.23.19-300x154.png\" alt=\"News and Events Template\" width=\"300\" height=\"154\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.23.19-300x154.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.23.19-1024x526.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.23.19-500x256.png 500w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.23.19.png 1179w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In most cases in T4, a Section represents a single webpage, but in the case of Staff, News and Events, multiple pieces of content appear on the page and clicking on their titles opens up a new page.<\/p>\n<p>The\u00a0<strong>Name<\/strong>\u00a0and\u00a0<strong>Brief Description<\/strong>\u00a0appear in your news list, when you click on the title or the image, the visitor is taken to a new page containing the full text of the\u00a0<strong>Main Body<\/strong>.<\/p>\n<p>As with the\u00a0<a title=\"People Profiles and Staff Lists\" href=\"https:\/\/blogs.ncl.ac.uk\/t4\/2014\/01\/23\/people-profiles-and-staff-lists\/\">Staff Profile content type<\/a>, the\u00a0<strong>Picture<\/strong>\u00a0you upload is resized both for the list and for use within the news item.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news-list.fw_.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-542\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news-list.fw_-300x192.png\" alt=\"news-list-fw\" width=\"300\" height=\"192\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news-list.fw_-300x192.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news-list.fw_-768x493.png 768w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news-list.fw_.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news-list.fw_-468x300.png 468w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news_page.fw_.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-543\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news_page.fw_-300x192.png\" alt=\"news_page-fw\" width=\"300\" height=\"192\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news_page.fw_-300x192.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news_page.fw_-768x493.png 768w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news_page.fw_.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/news_page.fw_-468x300.png 468w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>As you can see from the list though, our content has been automatically added to the bottom of the page (as it does when you add any new piece of content to a page).<\/p>\n<h2>Automatic Ordering<\/h2>\n<p>With news you want the items to automatically order by date &#8211; and with staff you probably want automatic ordering by name.<\/p>\n<p>You can do this by going to \u00a0<strong>Modify Content<\/strong> within the news section.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.44.31.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-149\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.44.31-300x162.png\" alt=\"Modify Content\" width=\"300\" height=\"162\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.44.31-300x162.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.44.31-500x271.png 500w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.44.31.png 897w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Click the checkbox marked <strong>Automatic Ordering<\/strong>. Choose the type of ordering you want (by updated, created or alphabetically), and uncheck the locks next to each piece of content. If you have a very important news item you want to remain at the top, leave its lock checked and use the arrows to move it to the top as shown in this screen shot.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.39.30.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-148\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.39.30-300x135.png\" alt=\"Automatic Ordering\" width=\"300\" height=\"135\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.39.30-300x135.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.39.30-1024x463.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.39.30-500x226.png 500w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.39.30.png 1099w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Remember to click <strong>Save Changes<\/strong> before leaving this screen. The ordering will update on your website next time this section is published.<\/p>\n<h2>Automatic Archiving and Delayed Publishing<\/h2>\n<p>Automatic Archiving moves news into a chosen section at a given date. Add a section called Archive to your news Section. You can choose to make this a hidden section by unchecking the &#8216;Show in Navigation&#8217; box. Tick the &#8216;Archive&#8217; checkbox.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.48.18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-150\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.48.18-300x157.png\" alt=\"Archive\" width=\"300\" height=\"157\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.48.18-300x157.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.48.18-1024x539.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.48.18-500x263.png 500w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.48.18.png 1113w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The next time you add content to the News Section, you can click on the Options tab for that piece of content. You&#8217;ll be given a screen where you can select Publish and Expiry dates.<\/p>\n<p>If the <strong>Publish Date<\/strong> is set in the future, the content won&#8217;t appear on your site till the next publish after that date and time (this will be within four hours).<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.50.46.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-151\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.50.46-300x125.png\" alt=\"Publish and Expiry Dates\" width=\"300\" height=\"125\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.50.46-300x125.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.50.46-1024x429.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.50.46-500x209.png 500w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2014\/01\/Screen-shot-2014-01-23-at-18.50.46.png 1080w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Within four hours of the <strong>Expiry Date<\/strong>, the content will move into the Archive section if you select one, otherwise, it will be deleted.<\/p>\n<p>Note that this is based on the publishing schedule for your site, if you need to rely on this for legal reasons (embargoed press releases, or a received take down notice for example), please email <a href=\"mailto:\/\/it.servicedesk@ncl.ac.uk\">it.servicedesk@ncl.ac.uk<\/a> to stating your requirement.<\/p>\n<h2>See also:<\/h2>\n<ul>\n<li><a title=\"People Profiles and Staff Lists\" href=\"https:\/\/blogs.ncl.ac.uk\/t4\/2014\/01\/23\/people-profiles-and-staff-lists\/\">Staff Profiles<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most content on your website is added using the\u00a0All Purpose Content\u00a0template type. Other content templates are available for Staff Profiles, News and Events, etc. This page discusses the News and Events templates &#8211; both behave in a very similar way &hellip; <a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/2014\/01\/23\/news-and-events\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":839,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,3],"tags":[10,22,12,11,9],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-content-templates","category-getting-started","tag-archiving","tag-content-templates","tag-events","tag-news","tag-ordering"],"_links":{"self":[{"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/users\/839"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":5,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":545,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/posts\/142\/revisions\/545"}],"wp:attachment":[{"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}