跳到内容

Template Modules

v1.0

Will Norris · 2010年10月18日 上架

Add the infrastructure to enable Daryl Koopersmith's modular theme concept.

正在使用
10 以下
评分
暂无
累计下载
1,528
最近更新
2010年10月18日
需要 WordPress 3.0+已测试到 3.0.5

贡献者

This is a plugin based implementation of Daryl Koopersmith’s modular themes concept and patch
(#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:

If you like this method of WordPress theme design, then vote up 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums