2014-05-26, 20:23:40
Put this in your themes functions.php file:
Code:
function addKontakt($atts, $content = null){
// add any parameters here, remove if not needed.
extract(shortcode_atts(array(
"class" => null,
"id" => null
), $atts));
// params will be available as variables $class, $id etc...
// just return your html code here.
return 'Your contact form here';
}
add_shortcode('kontakt-pl','addKontakt', '[kontakt-pl /]');