=== Plugin Name === Contributors: Jayjdk Tags: quicktag, quicktags, editor, quick, tag, generator Requires at least: 3.3-beta1 Tested up to: 3.3 Stable tag: 1.0.0 Allows you easily to add custom Quicktags to the post editor == Description == This plugin, Jayj Quicktag, allows you easily to add custom Quicktags to the post, page or a custom editor. It adds a settings page where you can add all the Quicktags you want (see Screenshots) It's uses the new WordPress 3.3 Quicktags changes so it won't work with older versions of WordPress. == Installation == 1. Install Jayj Quicktag either via the WordPress.org plugin directory, or by uploading the files to your `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to the settings page `Settings > Jayj Quicktag` 4. Add all the Quicktags you want! == Frequently Asked Questions == = Does this work with older versions than 3.3? = No, sorry. Due to the [javascript changes](http://wpdevel.wordpress.com/2011/09/23/javascript-changes-in-3-3/) in 3.3 this plugin **does not** work with older versions. = Can I add a self-closing Quicktag? = Yes. You can add a self-closing Quicktag (like <hr />) by leaving "End Tag(s)" empty. = Can I delete a Quicktag? = Yes, you can. Just leave the "Button Label" empty. = I'm a theme author, can I set up default Quicktags if a user choose to use this plugin? = Yes, you can. If you put this code in your theme's functions.php, they will automatically be added if a user install this plugin
function my_theme_jayj_quicktag_defaults( $defaults ) {
$defaults = array( 'buttons' => array(
array(
'text' => 'h3',
'title' => 'Heading 3',
'start' => '<h3>',
'end' => '</h3>'
),
array(
'text' => 'hr',
'title' => 'Horizontal line',
'start' => '<hr />',
'end' => ''
),
) );
return $defaults;
}
add_filter( 'jayj_quicktag_defaults', 'my_theme_jayj_quicktag_defaults' );
== Screenshots ==
1. The Quicktag generator settings page
2. A post editor with the new Quicktags
== Changelog ==
= 1.0 =
* Initial Release