// Pastebin
function simplebgt_pastebin ($atts, $content = null ) {
extract( shortcode_atts( array(
'tipe' => 'javascript',
'id' => '',
'tinggi' => '175'
), $atts ));
if ($tipe == 'javascript') {
$output = '<script src="http://pastebin.com/embed_js.php?i='. $id .'"></script>';
} elseif ($tipe == 'iframe') {
$output = '<iframe src="http://pastebin.com/embed_iframe.php?i='. $id .'" style="border:none;width:100%;height:'. $tinggi .'px;"></iframe>';
}
return $output;
}
add_shortcode("pastebin", "simplebgt_pastebin");