[wordpress插件] Custom Sections自定义栏目

wordpress 插件 文章 2020-04-09 16:50 506 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Custom Sections is a WordPress plugin that gives you an alternative to the default Widgets.

自定义部分是一个WordPress插件,可为您提供默认小部件的替代选择。

Custom Sections are pieces of content to be used as shortcode or directly in your theme.

自定义部分是用作短码或直接在主题中使用的内容。

To use custom template files for sections, files must be named section-templatename.php

要对部分使用自定义模板文件,文件必须命名为section-templatename.php

TODO’s

待办事项

    • Create documentation
    • 创建文档

安装步骤

    1. Upload the folder custom-sections to the /wp-content/plugins/ directory
    2. 将文件夹 custom-sections 上载到 / wp-content / plugins / 目录

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

    5. Go to Settings -> Custom Sections to configure the custom post type to be used as section.
    6. 转到“设置”->“自定义栏目”以配置用作该栏目的自定义帖子类型。

    The custom post type can optionaly be created by the user in the functions.php, or via a plugin that can create custom post types without programming.

    自定义帖子类型可以由用户在functions.php中创建,也可以通过插件创建,而无需编程即可创建自定义帖子类型。

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

AI助手支持GPT4.0