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

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

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

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.