开发者 | eddiemoya |
---|---|
更新时间 | 2012年3月24日 11:12 |
捐献地址: | 去捐款 |
PHP版本: | unknown 及以上 |
WordPress版本: | 3.2.1 |
parent-category.php
and child-category.php
with all the normal hierarchical behavior of the native category templates. This greatly extends the natural hierarchy of theme templates with regard to categories. Theme developers can now easily create separate templates for categories with have children, the children themselves, and categories which are neither.
Also adds is_parent_category()
and is_child_category()
functions for easy use in themes.
Note: This plugin does not actually create parent-category.php, child-category.php or any of their related templates - rather it modifies the native [template hierarchy]( to allow theme developers to create specific templates for parent and child categories
plugin-name.php
to the /wp-content/plugins/
directoryNo.
Because I only just recently released the plugin. I feel that I've done a decent job of documentation, so I can't guess what people may ask on this broadly applicable plugin.
Please do! Feel free to ask on the tools provided right in the WordPress plugin directory, or on my website eddiemoya.com No, plugins are not loaded during installation. For alternative solutions see "Other manifestations, alternative solutions" on the plugin home page.
null
if called from a non-category page.is_numberic
rather than is_numeric
.exit
.