Nomor tipe VC_MAP

<?php
add_shortcode( 'bartag', 'bartag_func' );
function bartag_func( $atts ) {
 extract( shortcode_atts( array(
  'foo' => 'something',
  'color' => '#FFF'
 ), $atts ) );
  
 return "<div style='color:{$color};'>foo = {$foo}</div>";
}
?>
Dev