Change Text Case

Plugin Banner

Change Text Case

by Michael Aronoff

Download
Description

This plugin solves one of my greatest annoyances. Quickly changing the case of selected text. Clients often send text with all caps or no caps and clicking through a ton of text to fix the case is often tedious work. I created this simple but effective plugin to eliminate that chore.

Based on a request I have added a fourth button to add Sentence Case as well. So if you have a large block of text with . ? or ! between sentences it will Cap only the first letter of each sentence.

There is an Options Page to enable or disable any of the buttons.

NEW
I have also added keyboard shorcuts!
Ctrl+Shift+L = Lowercase
Ctrl+Shift+U = Uppercase
Ctrl+Shift+S = Sentence Case
Ctrl+Shift+T = Title Case
(I do not own a mac to test on but command should work according to the TinyMCE documentation)

Usage

Highlight the text to be changed. Click the Visual Editor button inside your post/page for the desired effect:

  • UC – Changes selected text to all Uppercase.
  • lc – Changes selected text to all lowercase.
  • Sc – Changes selected text to all Sentence case.
  • Tc – Changes selected text to all Title case.
  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use buttons in WordPress TinyMCE Visual Editor
Q. Where can the plugin be used?

The plugin can be used in the WordPress Visual Editor

Q. Can I turn off some of the buttons?

Yes, there is a plugin options page that allows you to choose which buttons to display in the Visual Editor. Even when buttons are off the keyboard shortcuts still work.

Does Not Work in Blocks in Chrome on Mac

By ktsparkman on January 31, 2023

I don't know if this is browser dependent but does not work on Mac in Blocks viewing with Chrome. Keystrokes as described also do not work on Mac. (I'm sure developer has a friend with a Mac to check?) Only converts all caps to all lower case and then you cannot change initial cap. Happy to send a screen recording to developer if you'd like.

Not AP Title Case

By Dugonja (H3llas) on November 23, 2021

Title case is not AP style title case. It caps every first letter in sentence.

There is a Turkish character problem

By tahael on February 14, 2021

There is a Turkish character problem

Thank you!!

By Reg Scheepers on May 5, 2020

You sir, are an awesome human being! Thanks for creating this!

Fantastic!

By Erez Speiser (erezspeiser) on August 27, 2019

So simple and saves me so much time. Thank you!

Thanks for this...

By crzyhrse on February 9, 2018

Thank you... This was exactly what I was looking for and needed...

Just what I was looking for

By Harry (dibbyo456) on January 8, 2018

Work as described. Love it.

Perfect

By TFMEDIA™ (ab18282) on January 7, 2018

Exactly what I need. Great! Thank You Very Much.

Awesome

By dwhitsel on February 19, 2017

Awesome plugin. Thanks!

Works As Advertised

By Arun Basil Lal (arunbasillal) on November 22, 2016

Just what I was looking for.

2.0

This is a major rewrite. I rebuilt the code from scratch so that it was more compact, flexible and I added keyboard shortcuts. The old version was really 4 TinyMCE plugins packaged together. It is now a single TinyMCE plugin with four discrete functions.

SPECIAL MESSAGE FOR USER @Hrohh…
The thread you started about your changes is locked so I cannot reply. Please start a new support thread or go to my website at www.ciic.com and contact me.

2.0.1

Fix conflict with keyboard shortcuts.

2.0.2

Fixed a typo I left in on 2.0.1

2.0.3

Tested with WP 4.9

2.1

Changed keyboard shortcuts to not conflict with the new Block editor.
This plugin is not ready for the new paragraph block You must use either the Classic Editor or the Classic Block in the new Block Editor.
Tested with WP 5.3

2.2

Fixed Deprecated Warning

2.2.1

Tested with WP 6

2.3

Updated to work with PHP 8.1

2.3.2

Tested with WP 6.2

Back to top