Followed instructions on other support post. I had gravity forms installedr so I figured I’d just check with @foxydots example. My image is in :
wordpress/wp-content/themes/childtheme/images.form.png
And this is the filter I used:
add_filter('jpb_visual_shortcodes','add_visual_shortcode_image');
function add_visual_shortcode_image($shortcodes){
$shortcodes[] = array(
'shortcode' => 'gravityform',
'image' => get_stylesheet_directory_uri().'/images/form.png',
'command' => NULL,
);
return $shortcodes;
}
]]>
Hi there…could you provide one example of what to include in our functions file to tie into this function?
https://www.ads-software.com/extend/plugins/visual-shortcodes/
]]>