Home Plugins blogroll links
Blogroll Links logo

Blogroll Links

by rajivpant on WordPress.org

Display your blogroll links anywhere in posts or pages using a simple shortcode.

(0)
Links displayed on a page using the shortcode, showing XFN relationship tags

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.

Features

  • Display links by category using the category slug
  • Customizable sorting (by name, URL, rating, or ID)
  • Honors link visibility settings (show/hidden)
  • Respects target window settings for each link
  • Displays link descriptions and images if available
  • Works with WordPress’ built-in Links Manager
  • Supports XFN (XHTML Friends Network) relationship tags
  • Full PHP 8+ compatibility
  • Secure: Protected against SQL injection, XSS, and CSRF attacks

Usage

Add this shortcode to any post or page:

[blogroll-links categoryslug="my-links"]

Full Shortcode Options

[blogroll-links categoryslug="my-links" sortby="link_name" sortorder="asc"]

Parameters

  • 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)

Examples

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”]

Live Examples

See this plugin in action:

Credits

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.

Active installations300+
Weekly downloads
24-29.41%
Version3.0.0
Last updated11/29/2025
WordPress version5.0
Tested up to6.7.4
PHP version7.4
Tags
blogrollbookmarkslinksshortcode