WP Manifestindependent plugin directory
manifest / seo / text-hyperlinker

LDHyperlink

custom wordpress plugin

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ldusoswa/text-hyperlinker/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

LDHyperlink WordPress Plugin

A WordPress plugin that automatically hyperlinks text matching your site's categories and tags.

Description

LDHyperlink automatically scans your post content and converts any text that matches your WordPress categories or tags into clickable hyperlinks. This helps improve internal linking and SEO by automatically creating connections between related content.

Features

  • Automatic Linking: Automatically converts category and tag names into links
  • No Configuration Required: Works out of the box
  • SEO Friendly: Improves internal linking structure
  • Lightweight: Minimal performance impact

Installation

Via WordPress Admin (Recommended)

  1. Run the build command: .\build.ps1
  2. Upload the generated zip file from the dist/ folder via WordPress Admin > Plugins > Add New > Upload Plugin
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. The plugin will automatically start hyperlinking matching text in your posts

Manual Installation

  1. Upload the ldhyperlink.php file to the /wp-content/plugins/ldhyperlink/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. The plugin will automatically start hyperlinking matching text in your posts

Building for Distribution

To create a zip file for manual upload:

.\build.ps1

This will create a ldhyperlink-1.0.zip file in the dist/ directory that you can upload via the WordPress admin interface.

How It Works

The plugin hooks into WordPress's the_content filter and:

  1. Retrieves all categories and tags from your site
  2. Scans post content for matching text
  3. Replaces matches with hyperlinked versions pointing to the respective category/tag archive pages

Example

If you have a category called "Sim Racing" and a post contains the text "Sim Racing", it will automatically be converted to a link pointing to your Sim Racing category archive.

Technical Details

  • Hook: Uses WordPress the_content filter
  • Taxonomies: Works with both categories (category) and tags (post_tag)
  • Version: 1.0

Requirements

  • WordPress 4.0 or higher
  • PHP 5.6 or higher

Author

Laurence Dusoswa

License

GPL v2 or later

Support

For issues or questions, please open an issue on the GitHub repository.