Title: Template Modules
Author: Will Norris
Published: <strong>October 18, 2010</strong>
Last modified: October 18, 2010

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/template-modules.svg)

# Template Modules

 By [Will Norris](https://profiles.wordpress.org/willnorris/)

[Download](https://downloads.wordpress.org/plugin/template-modules.1.0.zip)

 * [Details](https://wordpress.org/plugins/template-modules/#description)
 * [Reviews](https://wordpress.org/plugins/template-modules/#reviews)
 * [Development](https://wordpress.org/plugins/template-modules/#developers)

 [Support](https://wordpress.org/support/plugin/template-modules/)

## Description

This is a plugin based implementation of Daryl Koopersmith’s modular themes concept
and patch
 ([#12877](https://core.trac.wordpress.org/ticket/12877)). It provides
the `get_template_module()` function, which allows for the creation of well-architected
themes with highly reusable code. For more on the use of this function, read Daryl’s
series of posts:

 * [Modular Themes, Part 1: Why?](http://drylk.com/2010/04/06/modular-themes-why/)
 * [Modular Themes, Part 2: Theme Organization](http://drylk.com/2010/04/06/modular-themes-organization/)
 * [Modular Themes, Performance](http://drylk.com/2010/04/06/modular-themes-performance/)

If you like this method of WordPress theme design, then vote up ticket [#12877](https://core.trac.wordpress.org/ticket/12877).
The ideal
 scenario is for this functionality to be provided in WordPress core. 
This plugin is simply a proof of concept, and provides an easy way for theme developers
to start playing with modular themes. The bulk of this plugin is directly from Daryl’s
patch. The one exception being the update_template_hierarchy() function, which duplicates
much of the template selection logic from wp-includes/theme.php in WordPress core.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Template Modules” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Will Norris ](https://profiles.wordpress.org/willnorris/)

[Translate “Template Modules” into your language.](https://translate.wordpress.org/projects/wp-plugins/template-modules)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/template-modules/),
check out the [SVN repository](https://plugins.svn.wordpress.org/template-modules/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/template-modules/)
by [RSS](https://plugins.trac.wordpress.org/log/template-modules/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0**
 *  Last updated **16 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **3.0.5**
 * Tags
 * [modular](https://wordpress.org/plugins/tags/modular/)[templates](https://wordpress.org/plugins/tags/templates/)
   [themes](https://wordpress.org/plugins/tags/themes/)
 *  [Advanced View](https://wordpress.org/plugins/template-modules/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/template-modules/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/template-modules/reviews/)

## Contributors

 *   [ Will Norris ](https://profiles.wordpress.org/willnorris/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/template-modules/)