You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the pull request goes through, we should remove our own implementation sandwich-googlemaps then do a remove_shortcode then add_shortcode on googlemaps to re-implement it. We can end up with 1 shortcode that works with Jetpack's googlemaps shortcode
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.
The text was updated successfully, but these errors were encountered: