Open jakejackson1 opened 9 years ago
@blueliquiddesigns Apologies for the late reply. Did you get this figured out? If not, can you share the code you're using to register the shortcode UI?
No. I wasn't able to get this working.
The relevant shortcode registration is below:
shortcode_ui_register_for_shortcode( 'gravitypdf', array(
'label' => __( 'Gravity PDF', 'gravitypdf' ),
'listItemImage' => 'dashicons-admin-site',
) );
The site is currently run locally using VVV, WordPress is installed in its own directory and I'm running Shortcake v0.4.0.
I was following the
dev.php
example and after getting my shortcode showing in the editor I tried to change the default image icon when loading the shortcode (it appears to be the "Camera and Music" icon).It looks like the
listItemImage
option should allow this behaviour but when I changes this to something likedashicons-admin-site
that icon never shows up (the default continues to show).