Support » Plugin: Visual Shortcodes » [Plugin: Visual Shortcodes] Shortcode Example

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would like to see an example, too? Anybody?

    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,
    	);
    	$shortcodes[] = array(
    		'shortcode' => 'entry_grid',
    		'image' => get_stylesheet_directory_uri().'/images/listings.png',
    		'command' => NULL,
    	);
    	$shortcodes[] = array(
    		'shortcode' => 'inline-login',
    		'image' => get_stylesheet_directory_uri().'/images/login.png',
    		'command' => NULL,
    	);
    	return $shortcodes;
    }

    hope this helps someone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Visual Shortcodes] Shortcode Example’ is closed to new replies.