Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Linkify Text

Automatically hyperlink words or phrases in your posts.

1.8 (2016-05-16)

  • New: Ensure longer, more precise link strings match before shorter strings that might also match, regardless of order defined.
  • New: Linkify text within shortcode content, but not within the shortcode tags themselves.
  • New: Add $text_to_link as additional optional argument to 'c2c_linkify_text_linked_text' filter.
  • Bugfix: Fix being able to limit text replacements to just once a post.
  • Bugfix: Honor setting to limit text replacements to just once a post for multibyte strings.
  • Bugfix: Preserve capitalization of source string being linkified. Fixes case-sensitive matches where the source string is differently cased than defined in setting.
  • Change: Update plugin framework to 043:
    • Change class name to c2c_LinkifyText_Plugin_043 to be plugin-specific.
    • Disregard invalid lines supplied as part of a hash option value.
    • Set textdomain using a string instead of a variable.
    • Don't load textdomain from file.
    • Change admin page header from 'h2' to 'h1' tag.
    • Add c2c_plugin_version().
    • Formatting improvements to inline docs.
  • Change: Add support for language packs:
    • Set textdomain using a string instead of a variable.
    • Remove .pot file and /lang subdirectory.
    • Remove 'Domain Path' plugin header.
  • Change: Declare class as final.
  • Change: Add more unit tests.
  • Change: Explicitly declare methods in unit tests as public or protected.
  • Change: Discontinue unnecessary use of empty().
  • Change: Minor code reformatting (spacing).
  • Change: Minor documentation tweaks.
  • Change: Note compatibility through WP 4.5+.
  • Change: Remove support for versions of WordPress older than 4.1.
  • Change: Update copyright date (2016).
  • Change: Prevent direct invocation of test file.
  • Change: Prevent web invocation of unit test bootstrap.php.
  • New: Document 'c2c_linkify_text_linked_text' filter in readme.
  • New: Create empty index.php to prevent files from being listed if web server has enabled directory listings.
  • New: Add LICENSE file.

1.7 (2015-02-20)

  • Improve support of '&' in text to be linked by recognizing its encoded alternatives ('&', '&') as equivalents
  • Prevent linkification of text if the provided link doesn't look anything like a link
  • Change regex delimiter from '|' to '~'
  • Minor refactoring of multibyte handling
  • Add to and improve unit tests
  • Add help text under primary textarea mentioning the term referencing feature
  • Minor documentation changes throughout

1.6 (2015-02-12)

  • Prevent text replacements from taking place within shortcode attributes or content. props @rbonk
  • Support linkifying multibyte strings. NOTE: Multibyte strings don't honor limiting their replacement within a piece of text to once
  • Use preg_quote() to escape user input used in regex
  • Update plugin framework to 039
  • Add check to prevent execution of code if file is directly accessed
  • Minor plugin header reformatting
  • Minor code reformatting (spacing, bracing)
  • Change documentation links to wp.org to be https
  • Add an FAQ question
  • Note compatibility through WP 4.1+
  • Update copyright date (2015)
  • Add an FAQ question
  • Add more unit tests
  • Add plugin icon
  • Regenerate .pot

1.5 (2014-01-04)

  • Add setting to allow limiting linkification to once per term per text
  • Add filter 'c2c_linkify_text_replace_once'
  • Add ability for a term to use another term's link
  • Change to just-in-time (rather than on init) determination if comments should be filtered
  • Add linkify_comment_text()
  • Add get_instance() static method for returning/creating singleton instance
  • Made static variable 'instance' private
  • Validate post is either int or string before handling
  • Add unit tests
  • Omit output of empty 'title' attribute for links
  • Update plugin framework to 037
  • Use explicit path for require_once()
  • For options_page_description(), match method signature of parent class
  • Discontinue use of explicit pass-by-reference for objects
  • Code tweaks (spacing, bracing, rearranging)
  • Documentation enhancements, additions, and tweaks
  • Note compatibility through WP 3.8+
  • Drop compatibility with version of WP older than 3.6
  • Update copyright date (2014)
  • Regenerate .pot
  • Change donate link
  • Add assets directory to plugin repository checkout
  • Add banner
  • Add screenshot

1.0.1 (unreleased)

  • Re-license as GPLv2 or later (from X11)
  • Add 'License' and 'License URI' header tags to readme.txt and plugin file
  • Add 'Upgrade Notice' section to readme.txt
  • Remove ending PHP close tag
  • Note compatibility through WP 3.4+
  • Update copyright date (2012)


  • Initial release

Requires: 4.1 or higher
Compatible up to: 4.5.6
Last Updated: 8 months ago
Active Installs: 1,000+


3.6 out of 5 stars


0 of 3 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.