该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Template Modules

描述

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.

评价

此插件暂无评价。

贡献者及开发者

「Template Modules」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Template Modules」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志