Doesn't seem to work
-
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; }
- The topic ‘Doesn't seem to work’ is closed to new replies.