[wordpress插件] Clean Archives Reloaded重新整理了干净的档案

wordpress 插件 文章 2020-03-24 09:20 495 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Clean Archives Reloaded generates a list of all of your posts, sorted by month.

重新加载“清洁档案”会生成所有帖子的列表,按月排序。

It’s enhanced with Javascript to allow collapsing and expanding of months.

Javascript对它进行了增强,可以折叠和扩展数月。

It’s highly efficient and won’t kill your server with tons of MySQL queries.

它非常高效,不会因大量MySQL查询而杀死您的服务器。

Demo

演示

Check out one of my sites’ archive page.

查看我的网站之一存档页面

Shortcode Tag Parameters

简码标记参数

You can customize the list options on a per-call basis if you wish.

如果愿意,可以按呼叫自定义列表选项。

    • usejs — (1 or 0) use Javascript or not to collapse the months
    • usejs —(( 1 0 )使用Java脚本还是不使用几个月的时间

    • monthorder — (new or old) show newest months or oldest months first
    • monthorder —(( new old )先显示最新的月份或最早的月份

    • postorder — (new or old) show newest posts or oldest posts first within months
    • postorder -( new old )在几个月内首先显示最新帖子或最早帖子

    Examples

    示例

    No Javascript:

    没有Java语言:

    [cleanarchivesreloaded usejs="0"]

      [cleanarchivesreloaded usejs =“ 0”]

    Oldest months first, oldest posts first:

    最早的月份在先,最早的帖子在先:

    [cleanarchivesreloaded monthorder="old" postorder="old"]

      [cleanarchivesreloaded monthorder =“ old” postorder =“ old”]

安装步骤

Updgrading From A Previous Version

从以前的版本升级

To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.

要从此插件的先前版本升级,请从该插件的先前版本中删除整个文件夹和文件,然后按照以下安装说明进行操作。

Installing The Plugin

安装插件

Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to /wp-content/plugins/.

从ZIP文件中提取所有文件,确保保持文件结构完整,然后将其上传到 / wp-content / plugins /

This should result in the following file structure:

这将导致以下文件结构:

- wp-content    

 -wp-content    

- plugins        

-插件        

- clean-archives-reloaded            

-干净的存档重新加载            

|

|

readme.txt            

readme.txt            

|

|

clean-archives-reloaded.php

clean-archives-reloaded.php

Then just visit your admin area and activate the plugin.

然后只需访问您的管理区域并激活插件即可。

See Also: “Installing Plugins” article on the WP Codex

另请参见:WP Codex上的“安装插件”文章

>

>

Using The Plugin

使用插件

Just create/edit a post or page and type [cleanarchivesreloaded] where you would like the archives list to show up.

只需创建/编辑帖子或页面,然后输入 [cleanarchivesreloaded] ,即可在其中显示档案列表。

You can also use [cartotalposts] to show your total post count.

您还可以使用 [cartotalposts] 显示您的总帖子数。

Example page contents:

示例页面内容:

Here is all [cartotalposts] of my posts:

 这是我的所有帖子[cartotalposts]:

[cleanarchivesreloaded]

[cleanarchivesreloaded]

Configure options via Settings -> Clean Archives.

通过“设置”->“清理档案”配置选项。

下载地址
https://downloads.wordpress.org/plugin/clean-archives-reloaded.zip
-EOF-

AI助手支持GPT4.0