[wordpress插件] Custom Category Templates自定义类别模板

wordpress 插件 文章 2020-04-07 13:50 729 0 全屏看文

AI助手支持GPT4.0

评分
86
描述

Just like the way you can create custom page templates, this plugin enables you to build category archive templates by adding this bit to the top of your file:

就像创建自定义页面模板的方式一样,此插件使您可以通过将以下位添加到文件顶部来构建类别存档模板:

  <?php

/** 

/ ** 

* Category Template: Grid 

*类别模板:网格 

*/

* /

?>

?>

and when you’re adding or editing categories, you can choose the desired template file.

,然后在添加或编辑类别时,可以选择所需的模板文件。

This plugin is maintained solely for backward compatibility.

仅为了向后兼容而维护此插件。

Try the new Custom Taxonomy Templates instead, it supports all taxonomies and also uses the new term meta feature in WP 4.4

请尝试使用新的自定义分类模板,它支持所有分类法,并且还使用WP 4.4中的新术语meta功能。

.

安装步骤

    1. Upload the whole plugin directory to the /wp-content/plugins/ directory
    2. 将整个插件目录上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Enjoy!
    6. 享受!

下载地址
https://downloads.wordpress.org/plugin/custom-category-templates.zip
-EOF-

AI助手支持GPT4.0