{"id":9777,"date":"2010-10-18T00:00:58","date_gmt":"2010-10-18T00:00:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/template-modules\/"},"modified":"2010-10-18T00:02:06","modified_gmt":"2010-10-18T00:02:06","slug":"template-modules","status":"publish","type":"plugin","link":"https:\/\/sl.wordpress.org\/plugins\/template-modules\/","author":1628415,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"3.0.5","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Template Modules","header_author":"Will Norris","header_description":"","assets_banners_color":"","last_updated":"2010-10-18 00:02:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/github.com\/willnorris\/template-modules","header_author_uri":"http:\/\/willnorris.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1407,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[19969,4516,1249],"plugin_category":[43],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-9777","plugin","type-plugin","status-publish","hentry","plugin_tags-modular","plugin_tags-templates","plugin_tags-themes","plugin_category-customization","plugin_committers-willnorris"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/template-modules.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is a plugin based implementation of Daryl Koopersmith's modular themes concept and patch \n(<a href=\"http:\/\/core.trac.wordpress.org\/ticket\/12877\">#12877<\/a>).  It provides the <code>get_template_module()<\/code> function, which allows for the creation \nof well-architected themes with highly reusable code.  For more on the use of this function, \nread Daryl's series of posts:<\/p>\n <ul>\n<li><a href=\"http:\/\/drylk.com\/2010\/04\/06\/modular-themes-why\/\">Modular Themes, Part 1: Why?<\/a><\/li>\n<li><a href=\"http:\/\/drylk.com\/2010\/04\/06\/modular-themes-organization\/\">Modular Themes, Part 2: Theme Organization<\/a><\/li>\n<li><a href=\"http:\/\/drylk.com\/2010\/04\/06\/modular-themes-performance\/\">Modular Themes, Performance<\/a><\/li>\n<\/ul>\n <p>If you like this method of WordPress theme design, then vote up ticket <a href=\"http:\/\/core.trac.wordpress.org\/ticket\/12877\">#12877<\/a>.  The ideal \nscenario is for this functionality to be provided in WordPress core.  This plugin is simply a proof \nof concept, and provides an easy way for theme developers to start playing with modular themes.  The \nbulk of this plugin is directly from Daryl's patch.  The one exception being the \n    update_template_hierarchy() function, which duplicates much of the template selection logic from \n    wp-includes\/theme.php in WordPress core.<\/p>","raw_excerpt":"Add the infrastructure to enable Daryl Koopersmith&#039;s modular theme concept.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/9777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=9777"}],"author":[{"embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/willnorris"}],"wp:attachment":[{"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=9777"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=9777"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=9777"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=9777"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=9777"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=9777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}