Latest Feed

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.

If you want to display the title of the latest post on a specific page, use this shortcode.

Basic usage

Code

[rssfeed]]https://www.library.illinois.edu/feed/[[/rssfeed]

Attributes

author

If you want to display the name of the author, set the value of the author attribute to 1.

Code

[rssfeed author="1"]]http://publish.illinois.edu/commonsknowledge/feed/[[/rssfeed]

pretext

The pretext attribute inserts whatever text/label you want to added before the post title and separate them by a colon and a space.

Code

[rssfeed pretext="Latest episode"]]https://www.library.illinois.edu/scholarlycommons/podcast/feed[[/rssfeed]

Rendering

Latest episode: It Takes Wenjie Wang
March 22, 2022

The two attributes can be used at the same time.

Code

[rssfeed author="1" pretext="Latest news"]]https://www.library.illinois.edu/feed/[[/rssfeed]

Rendering