[wordpress插件] Advanced Category Template高级类别模板

wordpress 插件 文章 2020-02-06 21:20 734 0 全屏看文

AI助手支持GPT4.0

评分

86

86

描述

Custom templates is what you are working on if you are here to read about this plug-in.

自定义模板是您正在研究的,如果您在这里阅读有关此插件的信息。

One challenge often faced by the WordPress developers is to implement the custom templates in the default categories as well as registered custom post_type categories in one go like page template.

WordPress开发人员经常面临的挑战之一是在默认类别中实现自定义模板,以及在一次性页面模板中实现已注册的自定义post_type类别。

On the plug-in dashboard, you get all the post types categories which means;

在插件仪表板上,您将获得所有帖子类型类别,这意味着:

it gives you complete authority to choose for which, post type category you want to use the custom template you have created.

它使您具有完全的权限来选择要使用已创建的自定义模板的帖子类型类别。

Use this light weight and very well sorted plug-in, which is as easy to use as to install and implement.

使用这种重量轻且分类良好的插件,与安装和实现一样容易。

Features

功能

    • Select custom post type category where you need to show the category template.

      选择需要显示类别模板的自定义帖子类型类别。

    • Select the post type category from the dashboard on which you need to have the option of using custom category template.

      从需要选择使用自定义类别模板的仪表板上选择帖子类型类别。

    • Select “default” setting to show category template in your theme for default post type category.

      选择“默认”设置以在主题中显示默认帖子类型类别的类别模板。

    • By default category template show in wordpress default post type : ‘post’ category.

      默认类别模板以wordpress默认帖子类型显示:“帖子”类别。

安装步骤

Install

安装

    1. Login into your WordPress admin panel
    2. 登录到WordPress管理面板

    3. Navigate to Plugins => Add New
    4. 导航至插件=>添加新内容

    5. Click Upload
    6. 点击上传

    7. Click Choose File and select the advanced-category-template.zip.
    8. 点击选择文件,然后选择advanced-category-template.zip。

    9. Click Install Now.
    10. 点击立即安装。

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

    13. Go to Dashboard => Advance Category Template and set your general setting.
    14. 转到仪表板=>高级类别模板并设置常规设置。

    15. To create new custom category Template you need to put the new file in the same directory/folder as your index.php and just need to add comment (Category Template: Your New Category Template Name) in your new category template (please

    16. 要创建新的自定义类别模板,您需要将新文件放置在与index.php相同的目录/文件夹中,只需在新的类别模板中添加注释(类别模板:您的新类别模板名称)(请

      find the same in the screenshots attached) file same as you do for page template.

      在随附的屏幕截图中找到与页面模板相同的文件)。

    Uninstall

    卸载

      1. Deactivate Advance Category Template in the ‘Plugins’ menu in WordPress.
      2. 在WordPress的“插件”菜单中停用高级类别模板。

      3. After Deactivation a ‘Delete’ link appears below the plugin name, follow the link and confim with ‘Yes, Delete these files’.
      4. 停用后,插件名称下方会出现一个“删除”链接,点击该链接并选择“是,删除这些文件”。

      5. This will delete all the plugin files from the server as well as erasing all options the plugin has stored in the database.
      6. 这将从服务器上删除所有插件文件,并删除该插件存储在数据库中的所有选项。

下载地址

https://downloads.wordpress.org/plugin/advanced-category-template.zip

https://downloads.wordpress.org/plugin/advanced-category-template.zip

-EOF-

AI助手支持GPT4.0