Link Extension for XFN
Add XFN (XHTML Friends Network) relationship metadata to WordPress links. Semantic social connections for the block editor.
Escolha sólida
Link Extension for XFN is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 weeks ago, and scores 64/100 on our health check.
- Desenvolvido ativamente — última atualização 2 semanas atrás
- Testado com as últimas WordPress (7.1)
- Base de usuários pequenas (<10 instalações ativas)
- Muito poucos comentários até agora
- Precisa de PHP 8.2 ou mais recente
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Link Extension for XFN stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| accessibility | >100 |
| Gutenberg | >100 |
| Links | >100 |
| relationships | >100 |
| XFN | #1 |
About Link Extension for XFN
From the official readme · v1.1.3Descrição
The XFN Relationship Link Extension seamlessly integrates XFN (XHTML Friends Network) relationship options into WordPress’s native link interface. This plugin enhances every block that supports links—including Paragraph, Button, Navigation, List, and more—with comprehensive relationship tagging capabilities through an intuitive collapsible interface.
XFN is a simple way to represent human relationships using hyperlinks. By adding XFN relationships to your links, you can indicate how you’re connected to the people and organizations you link to, creating a more semantic and meaningful web.
Key Features
Complete XFN 1.1 Specification Support
This plugin implements the full XFN 1.1 specification with all relationship categories:
- Friendship relationships: contact, acquaintance, friend
- Physical relationships: met (have you met this person?)
- Professional relationships: co-worker, colleague
- Geographical relationships: co-resident, neighbor
- Family relationships: child, parent, sibling, spouse, kin
- Romantic relationships: muse, crush, date, sweetheart
- Identity relationships: me (link to yourself)
Dual Interface Integration with Collapsible Design
The plugin provides XFN controls in two convenient locations, both featuring a clean collapsible interface:
- Link Advanced Panel (Always enabled): Collapsible XFN section in link popovers for inline links – works immediately after installation
- Inspector Controls (Optional): Panel in the block sidebar for Button, Image, Navigation Link, Site Logo, Post Title, Query Title, and Embed blocks, plus other blocks with a link URL attribute – enable in Settings → Link Extension for XFN
Blocks and frontend display
- XFN Blogroll: lists every XFN-tagged link on the site, grouped by relationship or domain.
- Relationship Badge: shows the relationships for one URL as pills.
- Relationship Directory: a searchable list with relationship filters.
- Tooltips (WordPress 7.0+): hover or focus an XFN link to see its relationships.
The Blogroll and Relationship Badge offer two block styles, Pills (default) and Plain labels; a Blogroll grouped by relationship prints no pills, so it looks the same in both styles.
Themes can recolor pills with the custom properties --xfn-pill-bg, --xfn-pill-border and --xfn-pill-color, set from a selector more specific than one class that matches .xfn-pill (for example .wp-block-xfn-blogroll .xfn-pill), because each relationship class sets them on the pill itself.
For developers and AI clients
- Nine
xfn/*abilities register with the Abilities API. Three read abilities (xfn/get-relationships,xfn/validate-relationships,xfn/get-meta-relationships) are public on the MCP Adapter’s default server. The writes andxfn/suggest-relationshipare not. xfn/suggest-relationshipcalls an AI provider only if the site provideswp_ai_client(), and caps each user at 20 requests per hour.- Outpost’s Micropub
mp-xfnproperty becomes XFN relationships on the matching link.
Seamless Integration with WordPress
The plugin extends the existing link interfaces without disrupting your workflow:
- Works with Paragraph, Button, Navigation, List, Embed, and all other link-supporting blocks
- Compatible with both Post Editor and Site Editor
- Preserves existing rel attributes (nofollow, noopener, noreferrer)
- No configuration required – works immediately after activation
- Clean collapsible interface matches WordPress design patterns
Advanced User Interface with Collapsible Sections
The relationship selection interface is designed for optimal usability with modern collapsible design:
- Collapsible XFN sections: Clean toggle buttons with expand/collapse animation
- Visual relationship pills: Color-coded indicators show active relationships at a glance
- Count badges: Quickly see how many relationships are active without expanding
- Intelligent grouping: Related options are logically organized by category within sections
- Button groups: Modern toggle-style buttons for easy relationship selection
- Mutual exclusivity: Button groups prevent conflicting relationships (e.g., can’t be both “friend” and “acquaintance”)
- Multi-selection support: Checkbox-style groups allow multiple compatible relationships
- Real-time validation: Prevents invalid relationship combinations
- Smooth animations: Fluid expand/collapse transitions
How to Add XFN Relationships to Links
Quick Start
After installation, XFN options are immediately available for inline links (links within paragraphs, headings, lists).
To use XFN with block-level links (Button, Image, Navigation Link, Site Logo, Post Title, Query Title, Embed), go to Settings → Link Extension for XFN and enable Inspector Controls.
Method 1: Using Link Advanced Panel (Always Available)
- Create or edit an inline link in any block (Paragraph, List, etc.)
- In the link popover, click “Advanced” to expand additional options
- Find the “XFN” collapsible section and click to expand
- Select relationships using the organized button groups
- See your active relationships in the summary pills
- Click “Apply” to save your XFN relationships
Method 2: Using Inspector Controls (Enable in Settings)
- Go to Settings → Link Extension for XFN and enable Inspector Controls
- Select a Button, Image, Navigation Link, or Embed block (or another block with a link URL)
- Look in the right sidebar – “XFN Relationships” panel opens by default
- Select relationships using radio buttons and checkboxes organized by category
- Relationships save automatically as you select them
- View active relationships in the summary section with color-coded pills
Understanding XFN Relationship Categories
Friendship Relationships (Choose One)
These are mutually exclusive – you can only select one friendship level per person:
- contact: Someone you know how to get in touch with
- acquaintance: Someone you’ve met but don’t know well
- friend: Someone you consider a friend
Physical Meeting
- met: Check this if you’ve met this person face-to-face
Professional Relationships (Multiple Allowed)
- co-worker: Someone you work with at the same company
- colleague: Someone in your professional field or industry
Geographical Relationships (Choose One)
- co-resident: Someone who lives in the same residence
- neighbor: Someone who lives nearby
Family Relationships (Choose One)
- child: Your child
- parent: Your parent
- sibling: Your brother or sister
- spouse: Your husband, wife, or domestic partner
- kin: Other family relation
Romantic Relationships (Multiple Allowed)
- muse: Someone who inspires you
- crush: Someone you have romantic feelings for
- date: Someone you’re dating
- sweetheart: Someone you have a romantic relationship with
Identity
- me: A link to your own content or profiles
Integration with Popular Blocks
Button Block
Use the Inspector Controls for quick relationship assignment. The XFN Relationships panel opens by default, letting you select relationships that save automatically.
Navigation Block
Enhance your site navigation with relationship context using the Inspector Controls. Mark links to your social profiles, partner sites, or affiliated organizations with the organized collapsible interface.
Embed Block
Add semantic meaning to embedded content from YouTube, Twitter, and other platforms. Use the Inspector Controls to indicate relationships with embedded content creators, marking videos from colleagues, friends, or your own channels. Perfect for blogrolls, resource pages, and content aggregation.
Paragraph Block (Inline Links)
For inline links within paragraph content, use the collapsible XFN section in the link popover’s Advanced area to add relationship context without overwhelming the interface.
List Block
Build relationship-rich link lists using the Link Advanced Panel for inline links or Inspector Controls for block-level links. The collapsible sections make it easy to manage multiple relationships across list items.
Cover Block and Media & Text Block
Use the Link Advanced Panel to add relationship context to links inside their text.
Technical Implementation
Source Code & Build Tools
This plugin uses build tools to compile and optimize code for production.
All uncompiled, human-readable source code is publicly available in the src/ directory of the GitHub repository (the distributed plugin ships only the compiled build/ output).
Source files (uncompiled):
* JavaScript: src/index.js (main plugin logic)
* Styles: src/editor.scss (editor styles)
* Additional: src/edit.js, src/save.js
Compiled files (production):
* JavaScript: build/index.js
* Styles: build/index.css, build/index-rtl.css
Build tools:
* Build system: WordPress Scripts (webpack-based)
* Required: Node.js 18.12+ and npm
* Build command: npm run build
* Development mode: npm start (watches for file changes)
How to rebuild from source:
1. Clone or download from GitHub: https://github.com/courtneyr-dev/link-extension-for-xfn
2. Install dependencies: npm install
3. Build production files: npm run build
4. Output will be in the build/ directory
GitHub repository (complete source): https://github.com/courtneyr-dev/link-extension-for-xfn
Rel Attribute Management
The plugin intelligently manages the HTML rel attribute:
- Combines XFN relationships with existing rel values
- Preserves SEO-important attributes like nofollow
- Maintains security attributes like noopener and noreferrer
- Uses space-separated format per HTML specification
- Validates relationship combinations to prevent conflicts
Data Persistence
- Relationships live in the standard HTML rel attribute of each link
- The plugin also keeps a
_xfn_relationshipspost meta mirror, which its abilities and the Outpost integration use - No custom database tables
- Compatible with all WordPress import/export tools
- Relationships survive theme changes and plugin deactivation
Performance Optimized
- Editor script under 5KB gzipped
- On WordPress 7.0+, a small tooltip script module and stylesheet load only on pages that contain XFN links
- Uses WordPress core components for consistency
- Smooth animations without performance penalties
Migration from Other XFN Plugins
If you’re migrating from another XFN plugin:
- Classic Editor plugins: Existing rel attributes in saved content are kept; this plugin does not import other plugins’ post meta
- Custom rel attributes: Any existing rel values are maintained
- Manual XFN: Manually entered XFN relationships in rel attributes work immediately
Solução de problemas
What happened to the “Floating Toolbar Button” setting?
Removed in 1.0.4: the checkbox existed in earlier versions but the toolbar button it described was never implemented, so it did nothing. The two working interfaces — the link popover’s Advanced panel (always on) and the optional Inspector Controls panel — cover the same relationships.
Tooltips don’t appear on the frontend
Frontend relationship tooltips require WordPress 7.0 or later. On WordPress 6.9 and earlier they stay off by design; your rel attributes are still saved and published.
XFN section won’t expand in link popover
- Check Advanced section: XFN options appear when you click “Advanced” in the link popover, then look for the “XFN” toggle
- Try clicking the toggle: The XFN section requires an additional click to expand
- Verify in block editor: Plugin only works with Gutenberg blocks, not Classic Editor
- Check browser console: Look for JavaScript errors that might prevent interaction
Collapsible sections not animating smoothly
- Check browser compatibility: Ensure you’re using a modern, supported browser
- Verify CSS loading: Check that plugin stylesheets are loading properly
- Test in incognito mode: Rule out browser extension interference
- Disable other plugins: Test for plugin conflicts by temporarily disabling other plugins
Count badges not updating
- Try refreshing: Sometimes a page refresh resolves display issues
- Check JavaScript console: Look for errors that might prevent updates
- Test relationship changes: Make sure you’re actually changing relationships
- Verify plugin activation: Ensure the plugin is properly activated
Relationships not saving properly
- Check browser console: Look for JavaScript errors that might prevent saving
- Verify user permissions: Ensure you have permission to edit the content
- Test with default theme: Temporarily switch to a default WordPress theme
- Disable other plugins: Test for plugin conflicts by temporarily disabling other plugins
Keyboard navigation issues with collapsible sections
- Test tab order: Use Tab key to navigate to toggle buttons
- Try space/enter: Space or Enter should expand/collapse sections
- Use arrow keys: Arrow keys work within expanded button groups
- Check browser settings: Ensure keyboard navigation is enabled in browser settings
Screen reader compatibility with collapsible interface
- Test with multiple screen readers: NVDA, JAWS, and VoiceOver are all supported
- Check expansion announcements: Section state changes should be announced
- Verify ARIA states: All collapsible elements should have proper ARIA attributes
- Update screen reader: Ensure you’re using a current version of your screen reader
Documentação
Full user documentation — installation, settings, common tasks, blocks, troubleshooting, privacy — lives at courtneyr-dev.github.io/link-extension-for-xfn.
Instalação
- Carregue os arquivos do plugin no diretório
/wp-content/plugins/link-extension-for-xfnou instale o plugin por meio da tela de plugins WordPress diretamente. - Ative o plugin através da tela 'Plugins' em WordPress
- No configuration required – XFN options will immediately appear in:
- Link Advanced Panel (Always available): Collapsible XFN section in the Advanced area of link popovers for inline links
- Inspector Controls (Optional): Panel in the block sidebar for Button, Image, Navigation Link, Site Logo, Post Title, Query Title, and Embed blocks, plus other blocks with a link URL attribute – enable in Settings → Link Extension for XFN
- Start adding relationship context to your links using the intuitive collapsible interface
Log de Changes
Links from password-protected, private, draft and scheduled posts no longer appear in the XFN blocks or abilities. Adds Pills and Plain labels block styles and fixes the Relationship Badge alignment.
1.1.3
- New: the XFN Blogroll and Relationship Badge blocks have two block styles, Pills (default, the existing look) and Plain labels (relationships as plain text). A Blogroll grouped by relationship prints no pills, so it looks the same in both styles.
- New: pill colors are CSS custom properties (
--xfn-pill-bg,--xfn-pill-border,--xfn-pill-color) with the same default values. Each relationship class sets them on the pill, so a theme overrides them from a selector such as.wp-block-xfn-blogroll .xfn-pill. - Fixed: the Relationship Badge sits in the content column instead of at the page edge. Both blocks show a server-rendered preview in the editor.
- Privacy: the Blogroll, Relationship Badge, Relationship Directory and
xfn/get-relationshipslist links only from published, password-free, publicly viewable posts, and stop listing a post as soon as it changes status. The REST API returns_xfn_relationshipsfor a password-protected post only to users who can edit it.xfn/get-meta-relationshipsandxfn/get-relationshipswith apost_idrefuse a non-public post for every caller. - Removed: an unused front-end script (
build/view.js). No page loaded it, because the block that declared it is never registered.
1.1.2
- Documentation: the readme now covers the three blocks, tooltips, the Outpost integration and the MCP abilities, and corrects two statements that were wrong: tooltip assets load on public pages (WordPress 7.0+), and the plugin keeps a
_xfn_relationshipspost meta mirror. - Documentation: the README, CONTRIBUTING and SUPPORT files now state WordPress 6.9+, PHP 8.2+ and Node.js 18.12+.
- Screenshots: new screenshots 1, 5, 6 and 7 show the current demo page, Blogroll, Relationship Badge and Relationship Directory.
- Versioning: this is the first WordPress.org release since 1.0.5, so it also delivers everything in 1.1.0 (GitHub only) through 1.1.1. No code changes.
1.1.1
- Changed: the three read abilities (
xfn/get-relationships,xfn/validate-relationships,xfn/get-meta-relationships) are now available to MCP clients through the MCP Adapter’s default server on every site. Writes andxfn/suggest-relationship(which can call an AI provider) are explicitly kept off MCP. - Removed: the WP Pinch integration. Before, every XFN ability, writes included, became MCP-public when WP Pinch was active, and none was public otherwise.
- Versioning: 1.1.1 follows the GitHub-only v1.1.0 release of 2026-07-03; releases 1.0.6 to 1.0.8 came after it, so this release moves the version above every published one.
1.0.8
- Improved: the Relationship Directory’s search field now has an associated
<label>instead of relying on the placeholder alone. - Improved: frontend tooltips are now linked to their anchor with
aria-describedby, and stay hidden before hydration and with JavaScript disabled via a literalhiddenattribute alongside the existing Interactivity binding. - Improved: tooltips no longer disappear when the pointer moves from the link onto them — the hover handlers moved to the wrapping element and
pointer-events: nonewas removed, and long tooltips now wrap instead of overflowing (WCAG 1.4.13 hoverable content). - Improved: the family-relationship pills (child, parent, sibling, spouse, kin) now use a darker orange (#9a3f00) and a larger 0.75rem size, bringing their contrast up to WCAG AA for small text.
- Improved: the Relationship Directory’s filter chips now report their pressed state via
aria-pressed, meet the 24x24px minimum target size, and a screen-reader-only status region announces how many relationships are shown as filters change. - Improved: links whose visible text was a bare URL (Blogroll, Relationship Directory, Relationship Badge) now show the host and path instead, while the underlying
hrefis unchanged.
1.0.7
- Fixed: the 1.0.6 throttle on
xfn/suggest-relationshipincremented its counter before checking whether an AI client was available, so it also capped the free local heuristics. It now increments only inside the AI branch, immediately before the provider call — heuristic-only suggestions are never counted or limited. That branch only runs on a site that supplies awp_ai_client()function; WordPress core does not ship one (core shipswp_ai_client_prompt()), so this throttle and the prompt quoting below are defense in depth for sites that add that integration themselves, not a fix for a live exposure. - Fixed: the per-user cap used a sliding window that reset on every request, so a caller who kept requesting could never actually be capped for a full hour. It now uses an hour-bucket key, capping at 20 requests per clock hour.
- Fixed: the
contextinput reaching the AI prompt was truncated withsubstr(), which counts bytes and could cut a multi-byte character in half. It now usesmb_substr(), truncating by character instead.
1.0.6
- Fixed:
xfn/suggest-relationshiprequired onlyread, so any authenticated user could trigger the AI provider call behind it. It now requiresedit_posts, matching the plugin’s other content abilities. - Fixed:
xfn/suggest-relationshipnow caps callers at 20 requests per hour per user, returning a 429 error once the limit is hit. - Fixed: the
urlandcontextinputs reaching the AI prompt are now sanitized, andcontextis capped at 500 characters with quote marks and line breaks stripped, closing a prompt-injection path.
Capturas de tela
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Link Extension for XFN alternatives
All accessibility plugins →FAQ
Link Extension for XFN: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Link Extension for XFN free?
Yes. Link Extension for XFN is free to download and use from the official WordPress.org plugin directory.
Is Link Extension for XFN safe to use in 2026?
Link Extension for XFN is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 2 weeks ago, and scores 64/100 on our health check.
How many websites use Link Extension for XFN?
Link Extension for XFN is active on <10 WordPress websites and has been downloaded 904 times since it launched in December 2025. It was downloaded 246 times in the last 30 days.
Does Link Extension for XFN work with WordPress 7.1?
Yes. The developer has tested Link Extension for XFN up to WordPress 7.1.5, the latest release. It requires WordPress 6.9 or newer.
What PHP version does Link Extension for XFN need?
Link Extension for XFN requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Link Extension for XFN last updated?
The latest version, 1.1.3, was released on November 17, 2026 (2 weeks ago).
Who makes Link Extension for XFN?
Link Extension for XFN is developed and maintained by Courtney Robertson.
What are the best alternatives to Link Extension for XFN?
The most popular alternatives to Link Extension for XFN are Web Accessibility (formally… (500K+ installs), Auto Image Attributes From… (100K+ installs) and Accessibility by UserWay (80K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
