[wordpress插件] Article Type文章类型

wordpress 插件 文章 2020-02-21 12:30 918 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin does the “grunt” work for registering a custom post type called “article” with categories,

此插件完成“ grunt”工作,用于注册带有类别的自定义帖子类型“ article”,

tags, along with widget support and short-code features.

标签,以及小部件支持和短代码功能。

This plugin is at aimed the user that wants to better organize their content, but not do all the server side code.

此插件面向希望更好地组织其内容但不执行所有服务器端代码的用户。

I’ve done that for you, all that is left is some light “theming” via CSS.

我已经为您完成了所有工作,剩下的只是通过CSS进行一些“主题化”。

This plugin may seem redundant when compared to “posts”, seeing

与“帖子”相比,此插件似乎显得多余,请参见

as how it has almost all the features of a post, but I’m attempting to separate the “concept” of publishing “content” as a journal entry i.e. post

因为它几乎具有帖子的所有功能,但是我试图将发布“内容”作为日记条目的“概念”分开,即帖子

versus a periodical i.e. article, hope others find it useful.

与期刊(即文章)相比,希望其他人觉得它有用。

Widget supports the following:

小部件支持以下内容:

(Requirments: your theme must support Widgets! For this feature to work)

(要求:您的主题必须支持小部件!此功能才能正常使用)

* Custom title

*自定义标题

* Article count

*文章数

* Choose category to display (choosing ALL may result in “post bleed” on archive pages, not recommmended)

*选择要显示的类别(选择全部可能导致存档页面上出现“后出血”,不建议使用)

* Choose tag to display

*选择要显示的标签

* Choose thumbnail to display

*选择缩略图显示

* Show posted on

*显示发布于

* Show posted in

*显示发布在

* Show excerpt (based on your settings defined in functions.php)

*显示摘录(根据您在functions.php中定义的设置)

Short-code “most recent articles box” with the following:

使用以下代码对“最新文章框”进行短编码:

* Specify count

*指定计数

* Specify category

*指定类别

* Custom title

*自定义标题

Short-code “meta box” and “meta list” with the following:

使用以下代码对“元框”和“元列表”进行短代码:

* unique class name for styling

*样式的唯一类名称

安装步骤

    1. Upload the folder article-type to the /wp-content/plugins/ directory or “install” it via the ‘Plugins’ menu in WordPress
    2. 将文件夹 article-type 上载到 / wp-content / plugins / 目录,或通过WordPress中的“插件”菜单“安装”它。

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

    5. Re-save permalinks
    6. 重新保存永久链接

下载地址
https://downloads.wordpress.org/plugin/article-type.zip
-EOF-

AI助手支持GPT4.0