[wordpress插件] Articles文章

wordpress 插件 文章 2020-02-21 12:50 468 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

The Articles plugin allows you to display a list of posts you wish to feature/highlight.

Articles插件可让您显示您希望精选/突出显示的帖子列表。

Upgrading

升级

If you used Articles version 1.2 or earlier, please use the Upgrade button on the settings page to upgrade your data for version 1.3.

如果您使用的文章版本为1.2或更早版本,请使用设置页面上的“升级”按钮来升级1.3版的数据。

Choosing Articles

选择文章

To add post to your Articles list, simply add a custom field (below the big text field on the post/page edit form) to the post:

要将帖子添加到“文章”列表,只需在帖子中添加一个自定义字段(在帖子/页面编辑表单的大文本字段下方):

Key: article

键:文章

Value: 1

值:1

Showing the Articles List

显示文章列表

There are two methods for showing the articles list.

有两种显示文章列表的方法。

Token Method

令牌方法

The token method is the easier way to show your articles list, and is enabled by default.

令牌方法是显示文章列表的更简便方法,默认情况下处于启用状态。

To show your articles list, simply add the following to a page or post:

要显示您的文章列表,只需将以下内容添加到页面或帖子中:

###articles###

  ### articles ###

and your articles list will appear in this place in the page/post.

,您的文章列表将出现在页面/帖子的此位置。

Template Tag Method

模板标记方法

You can always add a template tag to your theme (in a page template perhaps) to show your articles list:

您总是可以向主题添加模板标签(也许在页面模板中)以显示文章列表:

  <?php if(function_exists('aka_show_articles')){aka_show_articles(); 

} ?>

Known Issues

}?>

已知问题

Token Processing Time

令牌处理时间

Using the token method to show your Articles list will add very minor additional processing to each post display on your site.

使用令牌方法显示“文章”列表会为网站上的每个帖子显示添加非常轻微的附加处理。

安装步骤

    1. Download the plugin archive and expand it (you’ve likely already done this).
    2. 下载插件档案并将其展开(您可能已经完成了此操作)。

    3. Put the ‘articles.php’ file into your wp-content/plugins/ directory.
    4. 将“ articles.php”文件放入您的wp-content / plugins /目录。

    5. Go to the Plugins page in your WordPress Administration area and click ‘Activate’ for Articles.
    6. 转到WordPress管理区域中的“插件”页面,然后为文章单击“激活”。

    7. Go to Options > Articles to configure your Articles settings.
    8. 转到“选项”>“文章”以配置“文章”设置。

下载地址
https://downloads.wordpress.org/plugin/articles.1.3.zip
-EOF-

AI助手支持GPT4.0