AddQuicktag – WordPress plugin Free download

Click to Download

AddQuicktag

Description

This plugin makes it easy to add Quicktags to the html – and visual-editor. It is possible to export your Quicktags as a JSON – file that can be imported in other installations of the plugin.

WP-AddQuicktag for WordPress is originally created by Roel Meurders. The versions in the Repo of AddQuicktag are newer versions, this is a complete rewrite of version 2.0.0 with more functionality.

The plugin can add configurable custom quicktags to the editor of every post type, including custom post types from other sources. You may choose a post type for which a quicktag shall show up in the editor.
If this should not work perfectly well for you, you may also use the hooks inside the plugin. See the examples and hint inside the tab “Other Notes“.

Bugs, technical hints or contribute

Please give me feedback, contribute and file technical bugs on GitHub Repo.

Crafted by Inpsyde · Engineering the web since 2006.

Hook for custom post types

The plugin adds the quicktag by default to post types/ID post, page and comment. To use the plugin for other post types also you may use a filter; see the following example or an example plugin in the Gist 1595155.

// add custom function to filter hook 'addquicktag_post_types'
add_filter( 'addquicktag_post_types', 'my_addquicktag_post_types' );
/**
 * Return array $post_types with custom post types
 *
 * @param   $post_type Array
 * @return  $post_type Array
 */
function my_addquicktag_post_types( $post_types ) {

    $post_types[] = 'edit-comments';

    return $post_types;
}

Hook for custom pages

It is possible also to filter the pages inside the backend.
Still very useful in many situations!

Leave a Reply

Your email address will not be published. Required fields are marked *