WordPress Plugins

Within a short time of finding WordPress I decided to try it out. I quickly wanted to add some functionality to it, and WordPress made that very easy through Plugins. Below you can find the plugins I have developed for WordPress.

Plugin Name: Keywords

Version: 1.0
Plugin URI: http://www.theonering.net/staff/corvar/software/wordpress.html#keywords
Description: Extract keywords meta on a per post basis.
Author: William "Corvar" Thomas
Author URI: http://www.theonering.net/
This is a simple plugin to append keywords to a static list on a per post basis.

Usage: If a post add a Custom Field "keywords" with a value of a comma seperated list of the additional keywords you wish.

<META NAME="KEYWORDS" CONTENT="mary,sally,jane,<?php echo keywords(); ?>">

Example:

keywords custom field set to "foo,bar,baz"
Output:
<META NAME="KEYWORDS" CONTENT="mary,sally,jane,mary,sally,jane">

Source (downloadable)

Plugin Name: Make Static

Version: 1.0
Plugin URI: http://www.theonering.net/staff/corvar/software/wordpress.html#makestatic
Description: Make a static copy of a dynamic page
Author: William "Corvar" Thomas
Author URI: http://www.theonering.net/

Installation: The two variables (baseurl and basedir) will need to be set for your scenario.
Only supports the default permalink format of yyyy/mm/dd/post-name

Usage: Create a custom field for a post with a key of "static" and a value of "on"
When the post is saved, it will create a static version.

Rewrite Rules: To seemlessly use this plugin, additional RewriteRules/Conds will be needed. These should come between the RewriteBase and first RewriteRule supplied by WordPress's permalink. They should be of the form:

RewriteCond /usr/share/%{REQUEST_URI}.html -f
RewriteRule ^archives/(.*) /wordpress/archives/$1 [L]

In that example, REQUEST_URI would be of the form '/wordpress/archives/2004/9/21/the-name-of-post', wordpress is installed in '/usr/share/wordpress'

Requires: curl


Source (downloadable)




Valid HTML 4.01! Corvar