Smart shortcode