BLOG DESIGN SOLUTIONS We could (Web host) have put some
BLOG DESIGN SOLUTIONS We could have put some of this in the Page Content area of the Create Page screen, but for this demo we want to have everything in the template, so on we go:
Commenter Heat Map
Below is a heat map of the commenters here.
Notice the call to the plug-ins. Finally, we close with the footer call: That is the entire template; now we save it as new_archive.php, place it in /wp-content/themes/default/, and then log into the WordPress admin area to create a new Page. Finally, we need to create a blank Page and link it up with the new template. Let s go to Write . Write Page and get down to business. We need to give our Page a title, let s say My Archives. We can skip down past the Page Content area to Page Options. The first field should be Page Template, and in the drop-down box we should find Archives Template select that, make sure you have my-archives as the Page slug, and click Create New Page. That s it. If you have installed and activated the plug-ins, when you load http://localhost/my-archives/ you should see your lovely new Archives page. Let s continue our exploration of custom templates by looking at another little-known power hidden within the theme system: per category templates. Hidden spiffiness abounds Deep within the recesses of the WordPress code base lies dormant the power to create custom templates for each of our categories; what is astounding is how easy it is to create them. This sleeping giant merely awaits the correct filenames to wake and unleash untold shininess and spiffiness upon your visitors heads! This isn t a feature for everyone, but we think that for a select few it can be a breath of fresh air, not to mention a solution for many frustrations. When you get down to brass tacks, this is a profoundly easy feature to exploit. All you need to know is the number of each category and what you want each category to look like. Let s look at how it can be used on Chris s site (www.chrisjdavis.org).