wordpress2.9中的新类别模板
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了wordpress2.9中的新类别模板相关的知识,希望对你有一定的参考价值。
Previously it was necessary to integrate the following query: if ( is_category('microblog') ) { // here the output or integration of the stylesheet for category <em>Microblog</em> } In WordPress 2.9 it's sufficient to use the according template category-microblog.php to use this template, if you are in the category of the slug microblog. Alternatively you can still use ID, which can be changed but with the name of the slug is the identity unique and easy.
以上是关于wordpress2.9中的新类别模板的主要内容,如果未能解决你的问题,请参考以下文章