• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Using PHP Code To Change Title Words & Letters To Uppercase & Lowercase

The code examples in this tutorial apply to the Genesis entry title however you can use your own theme specific hook or the WordPress filter, the_title to modify the entry title in any theme.

Example:

The above code will work with any theme.

Lowercase

all lower case

This code changes all characters to lowercase.

Uppercase

all uppercase

This code changes all characters to uppercase.

First Character Each Word Uppercase

first letter each word uppercase

This code changes the first character in each word to uppercase.

First Character First Word Uppercase

first letter uppercase

This code changes the first character of the first word to uppercase.

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems