Skip to content

bfintal/Shortcake

 
 

Repository files navigation

Shortcake (Shortcode UI)

Contributors: mattheu, danielbachhuber, zebulonj, jitendraharpalani, sanchothefat, bfintal, davisshaver
Tags: shortcodes
Requires at least: 4.1
Tested up to: 4.2
Stable tag: 0.2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Shortcake makes using WordPress shortcodes a piece of cake.

Description

Used alongside add_shortcode, Shortcake supplies a user-friendly interface for adding a shortcode to a post, and viewing and editing it from within the content editor.

Once you've installed the plugin, you'll need to register UI for your shortcodes. For inspiration, check out examples of Shortcake in the wild.

To report bugs or feature requests, please use Github issues.

Installation

Shortcake can be installed like any other WordPress plugin.

Once you've done so, you'll need to register the UI for your code.

Screenshots

1. Without Shortcake, shortcodes have a minimal UI.

Without Shortcake, shortcodes have a minimal UI.

2. But with Shortcake, TinyMCE will render the shortcode in a TinyMCE view.

But with Shortcake, TinyMCE will render the shortcode in a TinyMCE view.

3. And add a user-friendly UI to edit shortcode content and attributes.

And add a user-friendly UI to edit shortcode content and attributes.

4. Add new shortcodes to your post through "Add Media".

Add new shortcodes to your post through "Add Media".

Changelog

0.2.1 (March 18, 2015)

  • Ensure use of jQuery respects jQuery.noConflict() mode in WP.

0.2.0 (March 18, 2015)

  • JS abstracted using Browserify.
  • Enhancements to "Add Post Element" UI: shortcodes sorted alphabetically; search based on label.
  • Much easier to select shortcode previews that include iframes.
  • WordPress 4.2 compatibility.
  • Added color picker to list of potential fields.
  • Bug fix: IE11 compatibility.
  • Bug fix: Checkbox field can now be unchecked.
  • Full release notes.

0.1.0 (December 23, 2014)

  • Supports all HTML5 input types for form fields.
  • Shortcode preview tab within the editing experience.
  • Re-labeled the UI around “Post Elements”, which is more descriptive than “Content Items.”
  • Many bug fixes.
  • Full release notes.

About

Shortcake makes using WordPress shortcodes a piece of cake.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.6%
  • PHP 14.1%
  • CSS 6.0%
  • Shell 1.3%