Remove forced uppercase from WordPress post titles

The new Theme for this blog converted the titles to all uppercase. What possible UI design decision was that? Just makes no sense.

Anyway, fortunately there is a “helpful” wordpress documentation page that shows how to change this: create a child theme for your changes. This is on WordPress’s Codex. I found that link by a forum discussion, [resolved] [closed] How to change site title from all caps to lower case.

It worked! And, I don’t even know how to code WordPress. Those instruction are not very clear. For example, it mentions that you may have to do something different if the Theme uses multiple css files. Do what exactly? And my current Theme “twentyforteen” does have multiple css files, though not in the root folder.

What did I do? Created the two files, style.css and functions.php. FTP’d them to a new folder twentyfourteen-child. Then enabled the new Theme “twentyfourteen-child” in my blog.

Listing 1, style.css

/*
 Theme Name:   Twenty Fourteen Child
 Theme URI:    http://example.com/twenty-Fourteen-child/
 Description:  Twenty Fourteen Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     twentyfourteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/
.entry-title {
	font-size: 33px;
	font-weight: 300;
	line-height: 1.0909090909;
	margin-bottom: 12px;
	margin: 0 0 12px 0;
	text-transform: none;
}

Listing 2, functions.php

<?php
/**
 * Twenty Fourteen child functions and definitions
 *
 *   ALL THE DETAILS FROM CODEX ARTICLE
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */

add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );

}

I repeated the steps here so I have a reference to what worked in my situation.

One thought on “Remove forced uppercase from WordPress post titles”

  1. I did all this and I tried much other advice. Changed main style.css and child theme style.css, tried it in a custom styles plugin: It just does not work. Post titles remain uppercase, no matter what. It starts to drive me crazy. And it is strange that wordpress forum pages on the matter are all “resolved” and closed. Sorry, wordpress admin folks: for me this is not resolved at all.

Leave a Reply

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