Theme Template Page Files

Posted January 19th, 2007 by Mike Cherim

This theme contains three custom templates — in addition to its “default template” — useful for designing a page to perform a specific role or meet a certain need. The special templates are “Contact,” “Site Map,” and “Widebody.” Their uses are as follows:

“Contact”

This is a single-use template designed specifically for my Secure and Accessible Contact Form. All you have to do is install and configure the plugin, go to the “Write” page click the “Write Page” tab to create a page using this template, enter your content, and save the page and you have a contact form. To learn more about this plugin’s how-to specifics, see this Contact Form Plugin post.

“Site Map”

According to the Web Content Accessibility Guidelines (WCAG) you are required to offer site visitors a site map detailing your site’s pages. I offer a simple solution to this for WordPress with this page template. Here’s how it works: First go to the “Write” page click the “Write Page.” Give the page a name like Site Map; this name is only for your blog’s navigation menu. Choose from the sidebar menu the “Site Map” template. Click the “Create Page” or “Publish” (WP v2.2) button. That’s it. Check out the new page. It’s heading will be “Site Map” and it will contain dynamic menus for your Blog Pages, Categories, Archives, and Blog Meta. It doesn’t get much easier to comply. To see an example, check out this blog’s “Site Map” page. This, too, is a single-use template.

“Widebody”

Unlike the other two page templates discussed, this template can be used repeatedly whenever you want a wide page. This is useful if you have content that is best served in a large format. Take, for instance, that you have some large photos that you want for a gallery of sorts. If you want to see an example of the “Widebody” template in use, please check out the configuration page.

Applying These Templates

To put any of these page templates to use, on the sidebar of the “Write Page” form you will find a box titled “Page Template” in which you’ll be presented with a pull down offering the “Default Template” and the others noted on this page. Choose the template you need and click the “Create Page” or “Publish” (WP v2.2) button to publish.


Sorry. Comments are closed.




Note: This is the end of the usable page. The image(s) below are preloaded for performance only.