Hallo,
einen Parameter für einen Shortcode integriert man folgendermaßen...
function func_shortcode($atts)
{
if(isset($atts['cat_id']))$cat_id=$atts['cat_id'];else $cat_id=0;
}
add_shortcode('shortcode','func_shortcode');
Aufgerufen wird dieser Shortcode dann mit:
[shortcode cat_id="12"]