List Last Changes

描述

通过简码或古腾堡块编辑器显示小部件区域中最后更改的列表。↵ 这可以包括更改的页面和/或帖子(可配置)。

额外的功能包括:

  • 在列表中选择一系列的条目
  • 定义页面可以执行
  • 显示 页面/文章 的作者

排除页面或者文章

To exclude a page or post from being listed in the widget do the following steps:

  1. 打开你想要排除的页面或者文章来进行编辑
  2. 打开 “Screen 选项” (在页面顶部的右侧)
  3. 确保 “Custom Fields” 已经被检查 (查看Screenshot #3)
  4. In the “Custom Fields” further down the screen add the following custom field (see Screenshot #4):
    • name: list_last_changes_ignore
    • 值:true

为了再次包含它并且来设置flase或者移除的值给完整的自定义字段

区块编辑器 (Gutenberg)

区块可以在Widgets中找到 -> List Last Changes.
区块可以在区块设置中配置(面板在右侧)

与小部件不同的是,块没有标题。如果需要标题,则必须在 List Last Changes 块前面的自己的块中定义它。

短代码

使用下列的语法来展现一系列列表最近的改变:

[list_last_changes number='7' showpages='true' showposts='true' showauthor='false' template='{title} {change_date} {author}' /]

属性“number”定义了显示的条目数。
‘showpages’ 和 ‘showposts’ 属性包括更改的页面和/或帖子。
为了显示作者,将属性 ‘showauthor’ 设置为 true(已弃用,请改用模板机制)。
‘template’ 属性定义了条目的内容。 如果定义了 ‘template’ 属性,则忽略属性 ‘showauthor’。

不同于widget,使用短代码没有标题被写入。如果一个标题是需要的,他会被手动定义到短代码。

模板

在模板字符串中下列的字段可以使用: {title}, {change_date} and {author}.
{title} : 带有链接的页面或者文章
{change_date} : 页面或者文章的日期被改变
{author} : 页面或帖子的作者

简单的模板:
{title} {change_date}: 默认的模板
{title} {change_date} {author}: 启用显示作者时,行为与 0.9 之前的版本相同↵
{change_date} : 仅显示change_date, 可以与 number = 1 一起用作 WordPress 站点的最后修改日期

屏幕截图

  • widget的配置
  • 输出widget
  • 在页面中启用自定义字段
  • 添加这个自定义字段在页面中,并且执行它在Widget。

区块

该插件提供了1个区块.

  • List Last Changes

常见问题

你的FAQ在哪?为什么他们不在这?

因为没有问题被问到

评价

2023 年 11 月 8 日 1 回复
I love the plugin but the version 1.0.2 broke the website.
2022 年 9 月 6 日
Really simple to set up and makes a great feature for highlighting updated site content.
2020 年 10 月 8 日
I wanted something that would display recent changes for a page-based (as opposed to post-based) WordPress site. This plugin fit the bill, and it has worked great as a widget. It's been on the default page type, including the home page, for over a year, through various upgrades and changes of WP and plugins, and there have been no issues or conflicts whatsoever. It does its job and does it well. When a page is changed, it gets added to the list of 5 most recent changes. You can easily configure the the number of changed pages shown, and it shows both the page name and the date, and the page name is a link to that page, so viewers can easily jump to those modified pages. Thanks for this plugin!
2018 年 8 月 27 日
This seems like a handy feature to show visitors to your site where your latest updates are. On my site it avoided a timeout message I was getting with an RSS feed list in the widget area. A problem has cropped up. I have been adding page categories to most of my pages over the past few days so the Page Updated date does not currently reflect significant changes to content. Hopefully this will improve as the weeks go by. I have been modifying the Date Created fields to reflect significant changes for RSS feed.
阅读所有6条评价

贡献者及开发者

“List Last Changes” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「List Last Changes」插件已被翻译至 8 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“List Last Changes”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.5

Release date: November 12, 2023

  • Bugfix for limit the ignored pages or posts to the number of posts per page (regression of 1.0.2).

1.0.4

Release date: November 11, 2023

  • Bugfix for block editor support: adapted to changes in the block editor handling

1.0.3

Release date: November 08, 2023

  • Bugfix for 1.0.2: removed refactorings (type information) that occured errors with some older php versions

1.0.2

Release date: November 07, 2023

  • Bugfix for interference with other plugins. Uses now the method WP_Query to get the posts and pages to ignore

1.0.1

Release date: September 05, 2022

  • Bugfix for exclude only up to five posts

Older releases

see additional changelog.txt file