HomePHP Page 4 - Standards-compliant Link Targets with Wordpress
Putting it all together - PHP
Wordpress is an extremely popular site blogging software written in PHP. It does a great job of creating standards-compliant web sites. Plus itís a good idea to continue with that effort when adding modifications.
Either edit your site template manually or through the Wordpress admin area. Open the header.php file associated with your current template, if there is one. If not, apply this to the default header.php file found in the /plugins/default folder.
With both scripts in place and the script reference added to your site template, youíre all set. Everything should be working. You can test it out by visiting your site and clicking any external link. If it opens in a new window, everything went well.
Using the code found in this article should help increase your pageís rank and search engine placement as well as allow pages with targeted links to validate under the new strict XHTML standards.