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

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# Template Modules

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

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

 * [Detaljer](https://sv.wordpress.org/plugins/template-modules/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/template-modules/#reviews)
 * [Utveckling](https://sv.wordpress.org/plugins/template-modules/#developers)

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

## Beskrivning

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.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Template Modules” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

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

[Översätt ”Template Modules” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/template-modules)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/template-modules/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/template-modules/) eller
prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/template-modules/)
via [RSS](https://plugins.trac.wordpress.org/log/template-modules/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0**
 *  Senast uppdaterat **16 år sedan**
 *  Aktiva installationer **Färre än 10**
 *  WordPress-version ** 3.0 eller senare **
 *  Testat upp till **3.0.5**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/template-modules/)
 * Etiketter
 * [modular](https://sv.wordpress.org/plugins/tags/modular/)[templates](https://sv.wordpress.org/plugins/tags/templates/)
   [themes](https://sv.wordpress.org/plugins/tags/themes/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/template-modules/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Visa alla recensioner](https://wordpress.org/support/plugin/template-modules/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

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