{"id":593,"date":"2016-11-10T11:04:32","date_gmt":"2016-11-10T11:04:32","guid":{"rendered":"https:\/\/blogs.ncl.ac.uk\/t4\/?p=593"},"modified":"2024-07-08T14:18:33","modified_gmt":"2024-07-08T13:18:33","slug":"scrollable-news","status":"publish","type":"post","link":"https:\/\/blogs.ncl.ac.uk\/t4\/2016\/11\/10\/scrollable-news\/","title":{"rendered":"Scrollable News"},"content":{"rendered":"<p>In the new Research and Confernces template, you can collect all the news and events from a Section of your site and put a scrollable set of links to them on any page.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/scrollable-news.fw_.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-595\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/scrollable-news.fw_-300x192.png\" alt=\"scrollable-news-fw\" width=\"300\" height=\"192\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/scrollable-news.fw_-300x192.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/scrollable-news.fw_-768x493.png 768w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/scrollable-news.fw_.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/scrollable-news.fw_-468x300.png 468w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>To do this, you&#8217;ll need to have a Section with all your news and events in (this is setup as part of the template site):<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSiteStructure.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1046 size-medium\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSiteStructure-300x105.png\" alt=\"\" width=\"300\" height=\"105\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSiteStructure-300x105.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSiteStructure-1024x360.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSiteStructure-768x270.png 768w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSiteStructure-500x176.png 500w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSiteStructure.png 1509w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>On the page you want to drop the sliding news into, add a &#8220;News Slider&#8221; piece of content.\u00a0 Give the piece of content a name, then click the Select link on the right hand side to choose the Section to get your news from.<\/p>\n<p><a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSelectSection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1048 size-medium\" src=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSelectSection-300x149.png\" alt=\"\" width=\"300\" height=\"149\" srcset=\"https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSelectSection-300x149.png 300w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSelectSection-1024x508.png 1024w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSelectSection-768x381.png 768w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSelectSection-1536x762.png 1536w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSelectSection-500x248.png 500w, https:\/\/blogs.ncl.ac.uk\/t4\/files\/2016\/11\/NewsEventsSelectSection.png 1601w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Add the content by clicking &#8220;Update and Approve&#8221; and then preview the section to see your news items on the page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the new Research and Confernces template, you can collect all the news and events from a Section of your site and put a scrollable set of links to them on any page. To do this, you&#8217;ll need to have &hellip; <a href=\"https:\/\/blogs.ncl.ac.uk\/t4\/2016\/11\/10\/scrollable-news\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":835,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-593","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/posts\/593","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\/835"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/comments?post=593"}],"version-history":[{"count":10,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/posts\/593\/revisions"}],"predecessor-version":[{"id":1049,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/posts\/593\/revisions\/1049"}],"wp:attachment":[{"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/media?parent=593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/categories?post=593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/t4\/wp-json\/wp\/v2\/tags?post=593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}