
Links displayed on a page using the shortcode, showing XFN relationship tags
Blogroll Links is a WordPress plugin that displays your site’s link bookmarks (formerly called “blogroll”) within posts and pages using a simple shortcode.
For people who maintain their website or blog using the WordPress content management system, Blogroll Links uses WordPress’ built-in Links feature and presents links to friends’ pages, resources, and social networking profiles.
Add this shortcode to any post or page:
[blogroll-links categoryslug="my-links"]
[blogroll-links categoryslug="my-links" sortby="link_name" sortorder="asc"]
categoryslug – The slug of the link category to display (required)sortby – Sort field: link_name, link_url, link_rating, link_id (default: link_name)sortorder – Sort direction: asc or desc (default: asc)Display friends’ websites sorted by name:
[blogroll-links categoryslug=”friends” sortby=”link_name” sortorder=”asc”]
Display resources sorted by rating (highest first):
[blogroll-links categoryslug=”resources” sortby=”link_rating” sortorder=”desc”]
Display social media profiles:
[blogroll-links categoryslug=”social-profiles”]
See this plugin in action:
Thanks to Dave Grega and Adam E. Falk (xenograg) for their contributions to this code.
Version 3.0 was modernized using Synthesis Coding with Claude Code – a human-AI collaborative development approach.