{"id":3080,"date":"2022-04-28T22:57:07","date_gmt":"2022-04-28T22:57:07","guid":{"rendered":"http:\/\/wordpress.library.illinois.edu\/wp-training\/?page_id=3080"},"modified":"2024-02-20T20:20:20","modified_gmt":"2024-02-20T20:20:20","slug":"latest-feed","status":"publish","type":"page","link":"https:\/\/wordpress.library.illinois.edu\/wp-training\/shortcodes\/latest-feed\/","title":{"rendered":"Latest Feed"},"content":{"rendered":"<h2>When to use<\/h2>\n<p>Your library may publish frequently updated web content such as news and\/or blog and you may want the latest updates automatically added to your website.<\/p>\n<p>If you want to display a list of latest posts in the sidebar <strong>on all pages<\/strong> of your website, use the WordPress built-in RSS widget. You can add it by going to Appearance -&gt; Widget -&gt; RSS. Please note: only a site administrator can create a site-wide RSS widget.<\/p>\n<p>If you want to display the title of the latest post <strong>on a specific page<\/strong>, use this shortcode.<\/p>\n<h2>Basic usage<\/h2>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-8 sh-pb-3\"><\/p>\n<h3>Code<\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\">[rssfeed]]https:\/\/www.library.illinois.edu\/feed\/[[\/rssfeed]<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-4 sh-pb-3\"><\/p>\n<h3>Rendering<\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><p><a href=\"https:\/\/www.library.illinois.edu\/news\/main-library-roofing-project-all-building-entrances-open-during-construction\/\">Main Library Roofing Project: All Building Entrances Open During Construction<\/a><br>posted on April 15, 2026<\/p><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h2>Attributes<\/h2>\n<h3>author<\/h3>\n<p>If you want to display the name of the author, set the value of the <strong>author<\/strong> attribute to 1.<\/p>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-8 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\">[rssfeed author=\"1\"]]http:\/\/publish.illinois.edu\/commonsknowledge\/feed\/[[\/rssfeed]<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-4 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><p><a href=\"http:\/\/publish.illinois.edu\/commonsknowledge\/2023\/05\/12\/graduation-interview-with-our-graduate-assistants\/\">Graduation Interview with our Graduate Assistants<\/a><br>By Precious Olalere - May 12, 2023<\/p><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3>text<\/h3>\n<p>The <strong>text <\/strong>attribute inserts whatever text\/label you want to added before the post title and separate them by a colon and a space.<\/p>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-8 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\">[rssfeed text=\"Latest episode\"]]https:\/\/wordpress.library.illinois.edu\/scholarlycommons\/podcast\/feed[[\/rssfeed]<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-4 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><p>Latest episode: <a href=\"https:\/\/wordpress.library.illinois.edu\/scholarlycommons\/podcast\/it-takes-jess-hagman\/\">It Takes Jess Hagman<\/a><br><span style=\"display:block; text-align:right;\">March 29, 2022<\/span><\/p><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<p>The two attributes can be used at the same time.<\/p>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\">[rssfeed author=\"1\" text=\"Latest news\"]]https:\/\/www.library.illinois.edu\/feed\/[[\/rssfeed]<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><p>Latest news: <a href=\"https:\/\/www.library.illinois.edu\/news\/main-library-roofing-project-all-building-entrances-open-during-construction\/\">Main Library Roofing Project: All Building Entrances Open During Construction<\/a><br>By Murphy Heather - April 15, 2026<\/p><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3>show_post<\/h3>\n<p>Shows the whole post.<\/p>\n<div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\">\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\">[rssfeed show_post=\"yes\" author=\"1\" text=\"Latest news\"]]https:\/\/www.library.illinois.edu\/feed\/[[\/rssfeed]<\/div><\/div><\/div><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\">\n            <article>\n                <header class=\"entry-header\">\n                    <h2 class=\"entry-title\">Main Library Roofing Project: All Building Entrances Open During Construction<\/h2>\n                    <div class=\"entry-meta\">\n                        <p>Posted on April 15, 2026 by Murphy Heather<\/p>\n                    <\/div>\n                <\/header>\n\n                <div class=\"entry-content\">\n                    <p data-start=\"0\" data-end=\"273\"><a href=\"https:\/\/www.library.illinois.edu\/wp-content\/uploads\/2022\/08\/UI-08-210714-067-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3731\" src=\"https:\/\/www.library.illinois.edu\/wp-content\/uploads\/2022\/08\/UI-08-210714-067-2-300x205.jpg\" alt=\"Decorative: Exterior image of the Main Library\" width=\"300\" height=\"205\" \/><\/a><\/p>\n<p data-start=\"0\" data-end=\"273\">Work on the Main Library Roofing Project begins Monday, April 20, 2026. The contractor, BEAR Construction, will install fencing and temporarily close about eight parking spaces in the southeast corner of Lot E3, and set up overhead protection at all Main Library entrances.<\/p>\n<p data-start=\"275\" data-end=\"518\" data-is-last-node=\"\" data-is-only-node=\"\">All entrances will remain open during construction. The project includes roof replacement, repairs to dormers and interior plaster, masonry work in the north courtyard, and renovation of Room 422. Work is expected to be completed Fall 2026.<\/p>\n                <\/div>\n            <\/article><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When to use Your library may publish frequently updated web content such as news and\/or blog and you may want the latest updates automatically added to your website. If you want to display a list of latest posts in the sidebar on all pages of your website, use the WordPress built-in RSS widget. You can [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":0,"parent":24,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-3080","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/3080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/comments?post=3080"}],"version-history":[{"count":10,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/3080\/revisions"}],"predecessor-version":[{"id":3218,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/3080\/revisions\/3218"}],"up":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/24"}],"wp:attachment":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/media?parent=3080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}