Title: Customizing my Title
Last modified: August 19, 2016

---

# Customizing my Title

 *  Resolved [MaddTechWF](https://wordpress.org/support/users/maddtechwf/)
 * (@maddtechwf)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/customizing-my-title/)
 * I was wondering if anyone could shed some light on this for me.
 * I’m wanting to have the title of my site change dynamically depending on the 
   page they are currently on. The one thing that I want to stay the same is the
   title of the site.
 * I’m fairly new to PHP so I’m a little unfamiliar with the structure.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/customizing-my-title/#post-1443798)
 * > I’m wanting to have the title of my site change dynamically depending on the
   > page they are currently on.
 * This line…
 * >  The one thing that I want to stay the same is the title of the site.
 * and this line…
 * …completely contradict each other. A link to a site demonstrating the problem
   might help.
 *  Thread Starter [MaddTechWF](https://wordpress.org/support/users/maddtechwf/)
 * (@maddtechwf)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/customizing-my-title/#post-1443811)
 * Well i want my site name to be there but have the page they are on change.
 * Example
    SiteName >> About SiteName >> Contact SiteName
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/customizing-my-title/#post-1443838)
 * Try something like:
 *     ```
       <title>if (is_category() || is_author()) {wp_title(':',true,'right');bloginfo('name');}
       elseif(is_tag()) {_e('Entries tagged with ');wp_title('',true);if(wp_title('',false)) {echo ' : ';}	bloginfo('name');}
       elseif(is_archive() ) {_e('Archives for ');bloginfo('name');}
       elseif(is_404()) {bloginfo('name');_e(' - Page not found!');}
       elseif (have_posts()) {wp_title(':',true,'right');bloginfo('name');}
       else {bloginfo('name');}?>
       </title>
       ```
   
 *  Thread Starter [MaddTechWF](https://wordpress.org/support/users/maddtechwf/)
 * (@maddtechwf)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/customizing-my-title/#post-1443866)
 * Thank you sooo much… that worked great.

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

The topic ‘Customizing my Title’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [MaddTechWF](https://wordpress.org/support/users/maddtechwf/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/customizing-my-title/#post-1443866)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
