Skip to content
This is a wordpress plugin which will provide your blog with shortags which output random hello world snippets in various programming languages. http://thelab.carlsverre.com/2009/04/16/hello-world/
PHP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.markdown
helloworld.php
helloworldgen.php
readme.txt

README.markdown

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

Something went wrong with that request. Please try again.