WordPress Shortcode API

function demo_func( $atts ){
	return "foo and bar";
}
add_shortcode( 'demo', 'demo_func' );
Clear Chinchilla