[wordpress插件] Archive封存

wordpress 插件 文章 2020-02-20 19:40 718 0 全屏看文

AI助手支持GPT4.0

评分
46
描述

Archive your post types, also possible via cron;

也可以通过cron归档您的帖子类型;

but only active via var inside the php-file.

但只能通过php文件中的var激活。

Use the shortcode [archive] to list all posts from Archive with status publish to a page or post.

使用简码[archive]列出存档中状态为发布到页面或帖子的所有帖子。

The shortcode can use different params and use the follow defaults.

简码可以使用不同的参数,并使用以下默认值。

'count'         => -1, // count or -1 for all posts

 'count'=> -1,//所有帖子计数或-1

'category' => '', // Show posts associated with certain categories.

'category'=>'',//显示与某些类别相关的帖子。

'tag' => '', // Show posts associated with certain tags.

'tag'=>'',//显示与某些标签相关的帖子。

'post_status' => 'publish', // status or all for all posts

'post_status'=>'发布',//所有帖子的状态或全部

'echo' => 'true', // echo or give an array for use external

'echo'=>'true',//回显或提供一个数组以供外部使用

'return_markup' => 'ul', // markup before echo title, content

'return_markup'=>'ul',//回显标题之前的标记,内容

'title_markup' => 'li', // markup before item

'title_markup'=>'li',//项目前的标记

'content' => 'false', // view also content?

'content'=>'false',//查看内容?

'debug' => 'false' // debug mor vor view an array

'debug'=>'false'//调试当前视图

An example for use shortcode with params: [archive count="10" content="true"]

将简码与参数一起使用的示例: [archive count =“ 10” content =“ true”]

Also you can change the parameters to create the custom post type of the Archiv via the filter hook archive_post_type_arguments.

您还可以通过过滤器挂钩 archive_post_type_arguments 更改参数以创建存档的自定义帖子类型。

Crafted by Inpsyde · Engineering the web since 2006.

Inpsyde 制作。·从2006年开始对网络进行设计。

安装步骤

Requirements

要求

    • WordPress version 3.0 and later (tested at 4.2-alpha)
    • WordPress 3.0及更高版本(在4.2-alpha上测试)

    • PHP 5.3
    • PHP 5.3

    Installation

    安装

      1. Unpack the download-package
      2. 解压缩下载包

      3. Upload the folder and all folder and files includes this to the /wp-content/plugins/ directory
      4. 将文件夹上传,所有文件夹和文件都将其包括到 / wp-content / plugins / 目录

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

      7. Now you find a link on all post types for archive the item
      8. 现在您可以找到所有文章类型的链接,以将项目存档

      Licence

      许可证

      Good news, this plugin is free for everyone!

      好消息,此插件对所有人免费!

      Since it’s released under the GPL3+, you can use it free of charge on your personal or commercial blog.

      由于它是根据GPL3 +发布的,因此您可以在个人或商业博客上免费使用它。

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

AI助手支持GPT4.0