{"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\/new-leisure-reading-collection\/\">New Leisure Reading Collection<\/a><br>posted on March 26, 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\/new-leisure-reading-collection\/\">New Leisure Reading Collection<\/a><br>By Murphy Heather - March 26, 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\">New Leisure Reading Collection<\/h2>\n                    <div class=\"entry-meta\">\n                        <p>Posted on March 26, 2026 by Murphy Heather<\/p>\n                    <\/div>\n                <\/header>\n\n                <div class=\"entry-content\">\n                    <p class=\"x_elementtoproof\">The University Library is excited to introduce a new leisure reading collection, created to support reading for enjoyment. No syllabus!<\/p>\n<div>\n<p class=\"x_elementtoproof\">The collection, located in the <a href=\"https:\/\/www.library.illinois.edu\/sshel\/\">Social Sciences, Health, and Education Library<\/a> (Room 101 in the Main Library building), will include more than 250 books with many <em>New York Times<\/em> best sellers and around 100 fiction titles. Leisure reading and play\u2014graphic novels, board and video games, and gaming consoles\u2014are also supported in other library locations, such as the Grainger Engineering Library Information Center, as well as the Media Commons, the Main Stacks, and the Literature and Languages Library within the Main Library.<\/p>\n<\/div>\n<div>\n<p class=\"x_elementtoproof\">Start browsing and discover your next fun read.<\/p>\n<\/div>\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}]}}