跳到内容

Blogroll Links

v3.0.0

rajivpant · 2008年4月3日 上架

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

正在使用
300+
评分
暂无
累计下载
3.4 万
最近更新
2025年11月30日
需要 WordPress 5.0+已测试到 6.7.12PHP 7.4+

截图

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums