Formatting Shortcuts in WordPress 4.3

Last updated on by admin

WordPress 4.3 introduced formatting shortcuts to make your writing flow faster and easier. It allows you to format text quickly by using some special characters.

screenshot showing formatting shortcuts in wordpress

Formatting Shortcuts

When you are writing in visual mode you can use the following characters to format text,

  • Asterisks * to create an unrecorded list
  • 1. or 1 to create an ordered list
  • # to create a h1 (heading one)
  • ## to create a h2 (heading two)
  • ### to create a h3 (heading three)
  • #### to create a h4 (heading four)
  • ##### to create a h5 (heading five)
  • ######┬áto create a h6 (heading six)
  • > to create a blockquote

Disabling Formatting Shortcuts

Formatting shortcuts are very handy for writing content in WordPress. But if you ever want to disable it you can do so using a filter.

All you need to do is add the following piece of code to your theme’s “functions.php” file.

function disable_mce_wptextpattern( $opt ) {

	if ( isset( $opt['plugins'] ) && $opt['plugins'] ) {
		$opt['plugins'] = explode( ',', $opt['plugins'] );
		$opt['plugins'] = array_diff( $opt['plugins'] , array( 'wptextpattern' ) );
		$opt['plugins'] = implode( ',', $opt['plugins'] );

	return $opt;

add_filter( 'tiny_mce_before_init', 'disable_mce_wptextpattern' );

Alternatively you can add it to a custom plugin file.

If you like the new formatting shortcuts feature feel free to share in the comments.

GET 60% OFF WordPress Hosting Here

One thought on “Formatting Shortcuts in WordPress 4.3”

  1. Thanks for providing the information. I was searching for “formatting shortcuts wordpress 4.3” on Bing and your website was one of the first to show up. I may write a blog article myself on this and reference yours.

Leave a Reply

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