General Quicktag 1 Quicktag 2 Quicktag 3 Quicktag 4 Quicktag 5 Overview Use this tool to create custom Quicktags for the WordPress text editor. Usage Fill in the user-friendly form. Click the “Update Code” button. Copy the code to your project. Or save it as a snippet and share with the community. Examples If you are still learning how to use this tool, check out the following examples: Quicktags – p, hr, pre Quicktags – special qoute Function Name The function used in the code. Quicktag 1 ID The html id for the button. Quicktag Display The html value for the button. Starting tag HTML starting tag or a callback function. Ending tag HTML ending tag. Access Key Shortcut access key for the button. Title The html title value for the button. Priority Button position in the toolbar. Instance Limit the button to a specific instance of quicktags. Quicktag 2 ID The html id for the button. Quicktag Display The html value for the button. Starting tag HTML starting tag or a callback function. Ending tag HTML ending tag. Access Key Shortcut access key for the button. Title The html title value for the button. Priority Button position in the toolbar. Instance Limit the button to a specific instance of quicktags. Quicktag 3 ID The html id for the button. Quicktag Display The html value for the button. Starting tag HTML starting tag or a callback function. Ending tag HTML ending tag. Access Key Shortcut access key for the button. Title The html title value for the button. Priority Button position in the toolbar. Instance Limit the button to a specific instance of quicktags. Quicktag 4 ID The html id for the button. Quicktag Display The html value for the button. Starting tag HTML starting tag or a callback function. Ending tag HTML ending tag. Access Key Shortcut access key for the button. Title The html title value for the button. Priority Button position in the toolbar. Instance Limit the button to a specific instance of quicktags. Quicktag 5 ID The html id for the button. Quicktag Display The html value for the button. Starting tag HTML starting tag or a callback function. Ending tag HTML ending tag. Access Key Shortcut access key for the button. Title The html title value for the button. Priority Button position in the toolbar. Instance Limit the button to a specific instance of quicktags. Update Code Save Snippet
// Add Quicktags function custom_quicktags() { if ( wp_script_is( 'quicktags' ) ) { ?> <script type="text/javascript"> </script> <?php } } add_action( 'admin_print_footer_scripts', 'custom_quicktags' );