This might be known to most WordPress developer that sensitive with search engine optimization for WordPress title. But for newbies, this will be useful and should always be taken into account when developing a WordPress theme. Without using any plugin, this hack is very essential.
By default a WordPress theme will be built with standard title code such as:
[sourcecode language=’php’][/sourcecode]
This is likely not the best way to make the title visibly friendly to search engine as each pages and post will display the same code for every title. Ideally, they must be custom to each and individual pages or post accordingly how they should be displayed. It is recommended to use such as:
[sourcecode language=’php’]
This code will actually display a custom title for each different type of page on your blog automatically. This is the basic of manual coding of optimizing title for WordPress.
If you’re really considering search engine optimization as high importance in WordPress development, using plugins might be very handy in this situation. Such are as:
All in One SEO Pack and WordPress SEO.