Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (25 sloc) 1000 Bytes

HelloWorldGen

This plugin simply outputs a random hello world code snippet wherever you specify.

Description

This plugin simply outputs a random hello world code snippet wherever you specify (in either posts or pages). I recommend you use a syntax highlighting plugin to wrap the code to make it look nicer.

For a preview of what this does and more information please visit this site: thelab.carlsverre.com and search for hello world.

Installation

  1. Upload the helloworldgen folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place either [helloworldsnippet] or [helloworldsnippet_pre] in a page or post

[helloworldsnippet] outputs a random code snippet with no formatting. [helloworldsnippet_pre] wraps the output in a pre tag.

Changelog

Version 1 - Initial version. Works fine, but more features may come in the future should there be interest.

Copyright 2009 Carl Sverre