Tag Archives: wordpress

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

 * Twenty Fourteen child functions and definitions
 * @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.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

Share source code using Gist

Gist is a modern pastebin service operated by GitHub. Unlike a simple pastebin site, a gist behind the scenes is using the Distributed Version Control System (DVCS) Git. “All gists are Git repositories, so they are automatically versioned, forkable and usable from Git.”

When including source code on a site there are scripts that allow one to include the code from the gist site. Anyone interested in the source has a cleaner interface to view, copy, download, or fork.

An example is on one of my blog posts. To show the source on the page took only one line:

[gist id=”6680049″ file=”Gather.groovy”]

This depends on the gist support you have on your blog system. WordPress, for example, supports gist embedding by use of ‘shortcodes‘.

Yes, this is old news, but I had this post in draft mode, so I may as well post it.


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.