如何创建具有多个属性值的简码?铁
[contact type="phone"]74847848[/contact]
and
[contact type="fax"]5565656565[/contact]
function sc_kontakti($atts, $content = null) {
return '<div class="sckon '.$type.'">'.$content.'</div>';
}
add_shortcode("kontakti", "sc_kontakti");