WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by J B v0.1

Visual Shortcodes

This is a utility plugin that will allow other plugins and themes to swap out shortcodes with custom images, in the same way that WordPress' nati …

Visual Shortcodes

The facts

Rating
2.5★ from 2
Active installs
100+
Price
Free
Last updated
12 Jan 2013
Added
Aug 2011
Requires WP
3.2.1
Tested up to
WP 3.5.2
Downloads
3,722

Our analysis

AI-assisted

Visual Shortcodes is a WordPress plugin designed to replace shortcodes with custom images. It functions similarly to the native gallery shortcode, allowing for a visual representation of shortcodes within the editor. This plugin is suitable for users who want to enhance their shortcode management with image replacements, particularly those familiar with TinyMCE buttons.

Best for: This plugin is best for WordPress users looking to visually manage shortcodes in their content.

What it does well

  • Allows replacement of shortcodes with custom images
  • Works with shortcodes that have a TinyMCE button
  • Supports manual shortcodes

Where it falls short

  • Does not support multi-line or non-self-closing shortcodes
  • Limited documentation on unsupported shortcode behaviour
  • Last updated in January 2013

Verdict

Visual Shortcodes offers a specific functionality for shortcode management, but its limitations and outdated status may affect its usability.

From the developer

J B's own description of Visual Shortcodes, lightly tidied.

This is a utility plugin that will allow other plugins and themes to swap out shortcodes with custom images, in the same way that WordPress’ native gallery shortcode does this. Replacement images can be clicked to reveal a ‘delete’ button.

This works extremely well when your shortcode already has a tinymce button, but does work for manual shortcodes too.

This plugin does not support multi-line shortcodes or non-self-closing shortcodes (e.g. it supports [foo bar="baz"] but not [foo]bar baz[/foo]). Honestly, I don’t even know what would happen if you tried to use one. It may work, but it’s entirely unsupported.

To add your shortcode, hook onto the filter 'jpb_visual_shortcodes'. That filter will pass one array as an argument. Each element of that array is an associative array which must contain values for the following keys:

  • shortcode The name of the shortcode to replace
  • image The url of the image to replace the shortcode with.

Additionally, the array may contain the optional parameter command, which must be a valid tinymce command. If present, this value will trigger a second UI button (‘Edit’) when the user clicks the replacement image which, when clicked, will execute the tinymce command passed as the value.

Read the full description on the official page →

Tagged as