Correct Title Case Function
Currently working on a WordPress site and the client has supplied content with the post titles all in UPPERCASE
Simple way to correct this:
add to your functions.php file in your chosen them:
function proper_title($data) {
$data['post_title'] = ucwords(strtolower($data['post_title']));
return $data;
}
add_filter('wp_insert_post_data', 'proper_title');
Now you can paste the title all in UPPERCASE and WordPress will correct it as you publish the page, by converting to lowercase then applying Ucwords (TitleCase)
Big time saver for me, hope it helps someone else.
.html on PAGES plugin .html Wordpress permalink on PAGES plugin
Correct Title Case Correct Wordpress Title Case Function
Remove view all posts Strip 'view all posts filed under' from Cat Menu
Secure URL Attacks Help Secure Wordpress From URL Include Attacks
Develop
Projects
Tips