[wordpress插件] Author Listing作者列表

wordpress 插件 文章 2020-02-23 16:30 574 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

A plugin providing template tags to list all active (or inactive) authors in the WordPress installation.

一个提供模板标签的插件,用于列出WordPress安装中的所有活跃(或非活跃)作者。

  <?php list_active_authors('days = 30&include_protected_posts = 0'); 

?> Will list all the authors active in the last 30 days, not counting password protected posts as "activity".

?>将列出过去30天内所有活动的作者,而不将受密码保护的帖子计为“活动”。

Both parameters are optional.

这两个参数都是可选的。

<?php list_inactive_authors('days = 30&include_protected_posts = 0');

?> Will list all the authors NOT active in the last 30 days, counting password protected posts as "activity".

?>将列出过去30天内未处于活动状态的所有作者,将受密码保护的帖子视为“活动”。

Again, both parameters are optional.

同样,两个参数都是可选的。

If “days” are not provided the tags default to the last 30 days.

如果未提供“天”,则标签默认为最近30天。

If “include_protected_posts” is not specified, the tags default to not including password protected posts.

如果未指定“ include_protected_posts”,则标签默认不包含受密码保护的帖子。

The HTML output is fairly heavily classed, but if you need to adapt it you can.

HTML输出的分类相当严格,但是如果需要对其进行调整,则可以。

Create a directory in your theme called “view”, and a directory within that one called “author-listings”.

在您的主题中创建一个名为“ view”的目录,并在其中创建一个名为“ author-listings”的目录。

Then copy the template files view/author-listings/active-authors-list.php and/or view/author-listings/inactive-authors-list.php from the

然后从以下位置复制模板文件 view / author-listings / active-authors-list.php 和/或 view / author-listings / inactive-authors-list.php

plugin directory into your theme directory and amend as you need.

插件目录插入主题目录,并根据需要进行修改。

If these files exist in these directories in your theme they will override the ones in the plugin directory.

如果这些文件存在于主题的这些目录中,则它们将覆盖plugin目录中的文件。

This is good because it means that when you update the plugin you can simply overwrite the old plugin directory as you haven’t changed any files in it.

这很好,因为这意味着更新插件时,您可以简单地覆盖旧的插件目录,因为其中没有更改任何文件。

All hail John Godley for the code which allows this magic to happen.

所有为 John Godley 所写的代码都使这种魔术发生了。

Can hook into the User Photo plugin to display the author photos.

可以插入用户照片插件以显示作者照片。

Plugin initially produced on behalf of Puffbox.

插件最初是代表 Puffbox 产生的。

Is this plugin lacking a feature you want?

此插件缺少您想要的功能吗?

I'm happy to accept offers of feature sponsorship: contact me and we can discuss your

我很高兴接受功能赞助的提议:与我联系,我们可以讨论您的问题

ideas.

想法。

Any issues: contact me.

任何问题:与我联系

安装步骤

The plugin is simple to install:

该插件易于安装:

    1. Download author-listings.zip
    2. 下载 author-listings.zip

    3. Unzip
    4. 解压缩

    5. Upload author-listings directory to your /wp-content/plugins directory
    6. author-listings 目录上传到您的 / wp-content / plugins 目录

    7. Go to the plugin management page and enable the plugin
    8. 转到插件管理页面并启用插件

    9. Give yourself a pat on the back
    10. 拍拍自己的背

下载地址
https://downloads.wordpress.org/plugin/author-listing.1.02.zip
-EOF-

AI助手支持GPT4.0


三叔工具箱

摸鱼人热门新闻聚合

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Batch Validator批次验证器
[wordpress插件] Custom Style自订样式
[wordpress插件] Bulk Creator批量创建者
[wordpress插件] Apester Interactive ContentApester互动内容
[wordpress插件] Connections Business Directory Open Hours连接业务目录的开放时间
随便看看
今天下午我司saas出现部分用户扫码(扫描带参数二维码事件),事件无法推送到服务器;提示出现故障 374
公众号显示“该公众号提供的服务出现故障,请稍后再试” 原因是没收到微信的通知请求(偶尔也能收到) 732
我是真的想吐槽腾讯的服务真的烂,电话永远打不通?人永远联系不到?就算联系上了从来不会有上下文聊天? 435
今天公众号一直出现服务不可用啊,今天啥情况,扫码全部不可用了?急啊 472
公众号显示“该公众号提供的服务出现故障,请稍后再试” 原因是没收到微信的通知请求,这个是什么情况? 560
晚上19:30开始 第三方平台授权事件接收URL突然接收不到推送了? 403
支付的时候这个上边的公司名称怎么去掉/更改啊? 498
公众号客户端发消息,一直提示“该公众号提供的服务出现故障,请稍后再试”, 643
今天突然公众号提示"该公众号提供的服务出现故障,请稍后再试",什么也没动啊? 449
第三方平台component_verify_ticket没有推送?现在所有的服务都不能正常使用了 417