The default Wordpress installation does not produce either a description or keywords meta tag in the header. There are plugins you can use to solve this problem, but why use a plugin when you can solve the problem with a few lines of code? Writing the code yourself with teach you about Wordpress, PHP, and XHTML. This will enable you to solve future web site problems easier. Additionally, you’ll have one less plugin to keep track of, giving you a leaner, meaner, Wordpress installation.
After a brief introduction, I’ll delve right into the code, and show you how to add these meta tags to your pages by modifying the header.php file of your theme. Read the rest of this entry »





