Shortcake can allow and parse variables with values
eg. [mycode src=someplaceinthenet]
but WILL NOT PARSE NOR ALLOW THIS KIND OF CODE
eg. [mycode someplaceintenet]
Called as standalone variables for easier identification, these kinds cannot be easily generated within shortcake.
These standalone variables are parsed as
$attr[0], $attr[1] and so on...
while normal variables are passed as
$attr('src' => 'value')
Shortcake generates values to pass on to shortcodes by this method:
array(
'label' => 'IFrame embed code',
'attr' => 'content',
'type' => 'textarea',
'description' => 'Enter embed code generated from Google Maps.',
),
It has no provisions for sending standalone variables.
A fix for this issue requires a change in shortcake.