InScript is an extensible scripting framework that provides the capability to insert and modify data without needing to modify any WordPress files.

At the simplest level, it is a generic pattern matcher – it searches for specific patterns, or tags, and replaces them with something else. However, instead of replacing these patterns with static text, you can replace them with variables, functions, and even PHP code.

Some of the features that InScript provides are:

  • Dynamic variables, which can be used in many places and are automatically updated (the version and last updated details above are dynamic variables)
  • Disable WordPress texturize functions across the whole blog, individual posts, or even individual words
  • Conversely, enable texturize, textile, markdown, or any formatting on individual posts or words
  • Embed well-defined scripts inside posts and any other part of WordPress, without modifying the theme

The embedded scripts are very powerful, and allow you to do things like:

  • Insert post & author information
  • Add HTTP meta-values and make them post-specific
  • Customise the appearance of words, paragraphs, or posts
  • Change date formats on individual sections
  • Insert highlighted code
  • Insert custom PHP code
  • Add custom stylesheets for specific posts

Because of the extensible nature of the plugin, you can add ‘scriptlets’ (mini-plugins) that provide extra features and yet use the same InScript framework.

125 Responses to InScript

  1. A complaint from a fan
    I upgrade to the latest version of inscript 1.7.3. Bad idea ! I caught this wordpress 2.1 plugin management message:
    Fatal error: Cannot redeclare escape_string() (previously declared in /var/www/wordpress/wp-content/plugins/inscript.php:70) in /var/www/wordpress/wp-content/plugins/inscript/inscript.php on line 73
    Any help will be appreciated. Sounds like a code typo 😉 .Got no time to fix it on my own.

  2. Hi Joetke, it looks like you’ve got two versions of InScript installed. One is at plugins/inscript.php, and the other is at plugins/inscript/inscript.php. The correct version is the last.

  3. Hi John, I’m trying to use your plugin InScript, but I can’t find the documentation file "inscript.pdf". I do not see it on the plugin page or in the zip file. Please help!

  4. Hi

    I can across this plugin whilst looking at your redirection plugin.

    Where is the documentation, it is not in the zip file?

    Does this plugin allow me to put javascript in a post or widget?

    Thanks in advance

  5. I’d been using InScript on one of my sites for a long time and somewhere very recently, it seems to have started causing problems–with the “the_content” filter checked, the whole contents of every page and post just vanishes. I know InScript had been working for a long time and I’m not sure what changed (possibly WP2.6.x?).

Pings | |

Leave a Reply

Your email address will not be published. Required fields are marked *