Dynamic Text Replace v2.0

I’d like to announce the official release of the updated Dynamic Text Replace plugin (v2.0) for WordPress.

Define your own custom dynamic text replacement pseudo-functions (i.e. ::google("search terms here")::)

The plugin’s official homepage is located at :
http://coffee2code.com/wp-plugins/dynamic-text-replace.

This release debuts the admin options page for the plugin, which provides an interface to define the dynamic text replacement shortcuts and expansions. Options are now stored in the database (negating the need to edit the plugin file). The substitution strings %text_altered% and %display% are now filterable. The release also brings with it full compatibility with WordPress 2.3+ and 2.5.

This update is part of coffee2code’s 14 Days of Plugins (updated plugin #13).

Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.

Read more for a detailed ChangeLog of the release.

Detailed ChangeLog

These are the detailed changes, which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.

  • Created its own class to encapsulate plugin functionality
  • Added an admin options page
  • Use preg_replace_callback() instead of preg_replace() and thus modified the argument handling of the replacement helper function
  • Added ‘yahoo’ pseudo-function
  • Removed hard-coded inclusion of text alternation for known pseudo-functions from dynamic_text_replace_helper()
  • %text_altered% now more easily user-definable by filter on ‘dynamic_text_replace_$pseudofunction’ where $pseudofunction is the pseudo-function name
  • %display% now also filterable via filter on ‘dynamic_text_replace_display_$pseudofunction’
  • Added documentation on the %text_altered% and %display% filtering
  • Fixed replacement string for ‘amazon’ pseudo-function
  • Added extended description
  • Tweaked description and installation instructions
  • Added compatibility note
  • Updated copyright date and version to 2.0
  • Moved into its own subdirectory; added readme.txt and screenshot
  • Tested compatibility with WP 2.3.3 and 2.5

2 Responses to “Dynamic Text Replace v2.0”

  1. very nice
    I am looking forward to taking advantage of this.
    just to let you know you seem to make some of the most useful plugins I have found for WP. keep up the good work.
    :)

  2. [...] the header file to load the javascript applet that performs the magic, and then setting up a new Dynamic Text Replacement using Scott Reilly’s plugin that was already being used to provide some quick shortcuts for [...]

Leave a Reply

Please keep these things in mind:
Comments may be moderated.
Don't say obviously spammy words (poker, penis, etc)
Basic HTML allowed: i, b, code
Wrap code examples in code tags.