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 add it by going to Appearance -> Widget -> RSS. Please note: only a site administrator can create a site-wide RSS widget.
If you want to display the title of the latest post on a specific page, use this shortcode.
Basic usage
Code
Rendering
The University of Illinois System Announces Open Publishing Agreement with Elsevier
posted on December 1, 2023
Attributes
author
If you want to display the name of the author, set the value of the author attribute to 1.
Code
Rendering
Graduation Interview with our Graduate Assistants
By Precious Olalere - May 12, 2023
text
The text attribute inserts whatever text/label you want to added before the post title and separate them by a colon and a space.
Code
Rendering
Latest episode: It Takes Jess Hagman
March 29, 2022
The two attributes can be used at the same time.
Code
Rendering
Latest news: The University of Illinois System Announces Open Publishing Agreement with Elsevier
By Murphy Heather - December 1, 2023