habibjutt
1/4/2016 - 11:59 AM

wp creating a shortcode.php

//[foobar]
function foobar_func( $atts ){
	return "foo and bar";
}
add_shortcode( 'foobar', 'foobar_func' );