Title: stanu5's Replies | WordPress.org

---

# stanu5

  [  ](https://wordpress.org/support/users/stanu5/)

 *   [Profile](https://wordpress.org/support/users/stanu5/)
 *   [Topics Started](https://wordpress.org/support/users/stanu5/topics/)
 *   [Replies Created](https://wordpress.org/support/users/stanu5/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/stanu5/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/stanu5/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/stanu5/engagements/)
 *   [Favorites](https://wordpress.org/support/users/stanu5/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_title help](https://wordpress.org/support/topic/wp_title-help/)
 *  Thread Starter [stanu5](https://wordpress.org/support/users/stanu5/)
 * (@stanu5)
 * [19 years ago](https://wordpress.org/support/topic/wp_title-help/#post-572947)
 * This worked perfectly!!! THANK YOU VERY MUCH!!!
 * (I am still confused though why my other code is incorrect :))
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp_title help](https://wordpress.org/support/topic/wp_title-help/)
 *  Thread Starter [stanu5](https://wordpress.org/support/users/stanu5/)
 * (@stanu5)
 * [19 years ago](https://wordpress.org/support/topic/wp_title-help/#post-572942)
 * Hi Moshu,
 * Thank you for your response. I am actually creating it within the page template
   and not in the content area. For some reason the condition within the _if_ statement
   is not recognized properly. For example if I change it to _if ($pagetitle != “
   About”)_ it steps into the if loop for every page including my “About” page. 
   When I try to put the _echo_ inside the _if_ it prints the titles correctly. 
   For my “About” page it in fact prints the word About. I really can’t figure out
   why it doesn’t work.
 * Thanks in advance for any ideas.

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