Title: Php Question &#8211; Forcing Camel Caps&#8230;
Last modified: August 19, 2016

---

# Php Question – Forcing Camel Caps…

 *  Resolved [nickaster](https://wordpress.org/support/users/nickaster/)
 * (@nickaster)
 * [16 years ago](https://wordpress.org/support/topic/php-question-forcing-camel-caps/)
 * Hi there. Quick php question. I’m calling the name of tags on the title of my
   tags page like this:
 * `<h1><?php single_tag_title(); ?></h1>`
 * I’d just like to make sure that the tag name (and names if it’s more than one
   word) starts with a capital letter, regardless of whether it was tagged as such
   originally.
 * Is this possible by slapping something into that php above?
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/php-question-forcing-camel-caps/#post-1478754)
 * Change the markup to `<h1><?php echo ucwords(single_tag_title('', false)); ?>
   </h1>`
 * [http://uk.php.net/manual/en/function.ucwords.php](http://uk.php.net/manual/en/function.ucwords.php)
   
   [http://codex.wordpress.org/Template_Tags/single_tag_title](http://codex.wordpress.org/Template_Tags/single_tag_title)
 *  Thread Starter [nickaster](https://wordpress.org/support/users/nickaster/)
 * (@nickaster)
 * [16 years ago](https://wordpress.org/support/topic/php-question-forcing-camel-caps/#post-1478800)
 * Brilliant, thanks!!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Php Question – Forcing Camel Caps…’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [nickaster](https://wordpress.org/support/users/nickaster/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/php-question-forcing-camel-caps/#post-1478800)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
