[wordpress插件] Article Forge伪造物品

wordpress 插件 文章 2020-02-21 11:20 599 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

The Article Forge WordPress plugin aims to provide a capable facility to aid in the writing, publishing, and maintenance of hierarchical documents for the web.

Article Forge WordPress插件旨在提供一种功能强大的工具,以帮助编写,发布和维护Web的分层文档。

In particular are stories, articles, technical documents and periodicals that have titled sections.

特别是标题部分的故事,文章,技术文档和期刊。

Documents are organized such that the head consists of a title and summary (ie. abstract) describing the whole.

对文档进行组织,以使标题由标题和摘要(即摘要)组成,以描述整体。

Beneath this head are the various sections comprising the document with each section consisting of a heading and content.

在此标题之下是组成文档的各个部分,每个部分均由标题和内容组成。

The entire document does not need to be assembled before publishing;

整个文档在发布之前不需要组装;

sections can be published independently of each other.

各个部分可以彼此独立地发布。

Many useful features abound through out the editing interface.

编辑界面中提供了许多有用的功能。

The main article edit screen provides a sortable ordered list of the sections with short-cuts to the section and a link to add new sections.

主文章编辑屏幕提供了一个可排序的节列表,其中包含该节的快捷键以及一个添加新节的链接。

Further, each document has display options that allow the author to customize the look and feel of the published article.

此外,每个文档都有显示选项,允许作者自定义发布文章的外观。

These include:

其中包括:

    • Display the Table of Contents on each page
    • 在每个页面上显示目录

    • Display the Summary on each page
    • 在每个页面上显示摘要

    • Display the entire document on one page
    • 在一页上显示整个文档

    CSS class tags are exposed for each div in the HTML content providing an easy means for users to specify their own style.

    CSS类标记在HTML内容中为每个div公开,为用户指定自己的样式提供了一种简便的方法。

    In fact, users are encouraged to make their own copy of the css, js, and HTML under the content directory.

    实际上,鼓励用户在内容目录下制作自己的css,js和HTML副本。

    An option is provided under the Settings page to specify the content directory from which files are served.

    “设置”页面下提供了一个选项,用于指定从中提供文件的内容目录。

    All .css and .js files under the corresponding directories are automatically included in frontend Article Forge related pages.

    相应目录下的所有.css和.js文件都会自动包含在与Article Forge前端相关的页面中。

    The Article Forge plugin is unique in that the concepts of template and content are separated.

    Article Forge插件的独特之处在于模板和内容的概念是分开的。

    Content is injected into the template instead of separate template files being required for each of the different post types, easing the burden on website maintainers.

    内容被注入到模板中,而不是每种不同的帖子类型都需要单独的模板文件,从而减轻了网站维护人员的负担。

    (See the Installation section for details.)

    (有关详细信息,请参见安装部分。)

    General commentary, upcoming features, and other WordPress related thought can be found at

    一般评论,即将发布的功能以及其他与WordPress相关的想法可以在

    "nofollow">http://www.bytewisemcu.org/article/article-forge/.

    “ nofollow”> http://www.bytewisemcu.org/article/article-forge/ 。

安装步骤

Article Forge is simple to install and use with WordPress.

Article Forge很容易安装并与WordPress一起使用。

The only requirement is a shift in perspective in how WordPress organizes and generates pages.

唯一的要求是WordPress如何组织和生成页面的观点发生转变。

The underlying engine for the Article Forge plugin makes a clear distinction between the concept of WordPress templates and that of generated content inside the theme’s displayable content area.

Article Forge插件的底层引擎在WordPress模板的概念与主题的可显示内容区域内的生成内容的概念之间有明显区别。

Generally speaking, WordPress requires the site maintainer to create separate template pages for each custom post type under the theme’s template directory;

一般来说,WordPress要求网站维护人员为主题模板目录下的每种自定义帖子类型创建单独的模板页面;

not the plugin directory.

不是插件目录。

These templates almost always leave the template’s layout intact with changes made only in the content area.

这些模板几乎总是使模板的布局保持完整,仅在内容区域中进行了更改。

Seeking to provide a more practical and persistant approach, the Article Forge plugin provides a shared hook that generates the content for the template.

为了提供一种更实用,更持久的方法,Article Forge插件提供了一个共享钩子,可以为模板生成内容。

In this way the user is not required to copy source html from the plugin directory and edit it.

这样,用户无需从插件目录复制源html并进行编辑。

There are various ways to utilize this feature with the simplest approach for those who wish to use Article Forge with other content types (this includes post and custom) is to do it the ‘WordPress’ way.

对于那些希望将Article Forge与其他内容类型(包括帖子和自定义)一起使用的人,有多种方法可以最简单地利用此功能,即采用“ WordPress”方法。

* Copy ‘single.php’ and ‘archive.php’ located under your Themes working directory to ‘single-articleforge_summary.php’ and ‘archive-articleforge_summary.php’ respectively.

*将位于主题工作目录下的“ single.php”和“ archive.php”分别复制到“ single-articleforge_summary.php”和“ archive-articleforge_summary.php”。

* Edit these files using the WP built-in editor under the Admin Appearance menu.

*使用Admin Appearance菜单下的WP内置编辑器编辑这些文件。

Remove the existing post content generation area (usually denoted by

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

AI助手支持GPT4.0