How to remove raquo; from wordpress title.Filed Under: php Programming, Tips and tricks, Wordpress
Oh there are two methods to remove raquo; from the title of wordpress posts.
1.
Instead of wp_title() in your theme’s header file (header.php) put echo wp_title(”,true);
This method is the easiest one to do, it just strips off the raquo; inserted by wordpress.
2.
Second method is to find that particular file in wp-includes thats inserting raquo; into title and removing raquo; from it. I have done it in previous versions of wordpress ( haven’t tried in 2.7) and feeling bit lazy to search for it. Hakuna matata as long as first one serves my purpose.
Second one is really an elegant way, try it yourself in your free time. Post a comment if you can spare minutes to tell others.
- Read More
- The Analyst
- 8 Jan 2009 11:20 PM
- Comments (4)