Customizing WordPress: Page Templates

This entry updates: Uncategorized,

Page templates customize features like layout (removing the sidebar in a full-width template) or can include background code that creates links to the organizational structure.

Our Supplement child theme includes one layout template and two coded templates:

  1. Full-Width, no sidebar
  2. Archives
  3. Auto Table of Contents

The full-width template is included from the “Toolbox” framework theme and only removes the sidebar. It does not automatically load any content unless you add it to the page.

The coded templates appear blank unless they are viewed in preview mode or published to the site.

Archives:

This template links to code from two plugins and will not work properly unless those plugins are installed and turned on:

It displays all of the categories in a simple list that can be expanded when you have a complicated hierarchy tree entered. It also includes links to the feeds for each section, and, if you create Feedburner links to each one and add the e-mail subscription, it can show that link as well.

 

Auto Table of Contents:

This template shows the categories fully as an indented list and can also show page numbers if you’ve entered them in the category description field.

You can easily edit the category descriptions to include page numbers by using our custom plugin:

  • Bulk Description Update
  • (Note: this plugin is available on Classcaster or by contacting ebarney@kentlaw.iit.edu – not listed in WordPress directory at this time)

 


This update supplements , Uncategorized , page:

 


Comments are closed.