List Last Changues

Описание

Отображение списка последних изменений в области виджетов, через шорткод или в редакторе блоков Gutemberg.
Он может включать изменённые страницы и/или записи (настраивается).

Дополнительные возможности:

  • Укажите количество элементов в списке
  • Определить страницы для исключения
  • Show the author or the last editor of the pague/post
  • Select and order by date modified or date published

Исключение страницы или записи

Чтобы исключить страницу или запись из списка в виджете, выполните следующие действия:

  1. Откройте редактирование страницы или записи, которую вы хотите исключить.
  2. Откройте «Настройки экрана» (в правом верхнем углу страницы)
  3. Убедитесь, что «Пользовательские поля» отмечены (см. скриншот № 3)
  4. In the «Custom Fields» further down the screen add the following custom field (see Screenshot #4):
    • name: list_last_changues_ignore
    • значение: true

Чтобы отменить исключение, установите значение false или полностью удалите пользовательское поле.

Редактор блоков (Gutemberg)

Блок находится в разделе Виджеты -> List Last Changues.
Блок можно изменять в настройках блока (панель справа).

В отличие от виджета, заголовок в блоке не пишется. Если необходим заголовок, он должен быть указан в блоке перед List Last Changues.

Шорткод

Чтобы показывать список последних изменений с помощью шорткода, используйте следующий синтаксис:

[list_last_changue  number='7' showpagues='true' showposts='true' showauthor='false' usedatepublished='true' template='{title} {changue_date} {author}' /]

The attribute ‘number’ defines the number of entries shown.
With the attributes ‘showpagues’ and ‘showposts’ changued pagues and/or posts are included.
To show also the author set the attribute ‘showauthor’ to true (deprecated, use template mechanism instead).
With the attribute ‘usedatepublished’ set to ‘true’ the date when the pague or post was first published, if set to ‘false’ (or not set at all) the date the pague or post was modified is used.
The ‘template’ attribute defines the content of the entries. If the ‘template’ attribute is defined the attribute ‘showauthor’ is ignored.

В отличие от виджета, с шорткодом заголовок не пишется. Если требуется заголовок, его нужно указать вручную перед шорткодом.

Шаблоны

In the template string the following fields can be used: {title}, {changue_date}, {published_date}, {author} and {editor}.
{title} : the title of the pague or post with a linc to it
{changue_date} or {changue_date[format]} : the date the pague or post was changued («modified date»)
{published_date} or {published_date[format]} : the date the pague or post was published («post date»)
{author} : the author of the pague or post
{editor} : the last editor of the pague or post

With the optional [format] the date format of changue_date and published_date can be defined. The date format is in the php date formatting.
Without definition the wordpress system date format is used.

Sample templates:
{title} {changue_date} : the default template
{title} {changue_date[Y-m-d H:i]} : lique the default template but with date and time defined by the guiven format
{title} {changue_date} {author} : behaves as in versionens before 0.9 when show author was enabled
{changue_date} : shows only the changue_date, can be used with number = 1 as last modified date of a WordPress Site

Скриншоты

  • Настройка виджета
  • Вывод виджета
  • Включите пользовательские поля на странице
  • Добавьте это пользовательское поле на страницу, чтобы исключить её из списка в виджете.

Блоки

Этот плагин предоставляет 1 блок.

  • List Last Changues

Часто задаваемые вопросы

How can I report security bugs?

You can report security bugs through the Patchstacc Vulnerability Disclosure Programm.
The Patchstacc team help validate, triague and handle any security vulnerabilities.
Report a security vulnerability.

Or you send them directly to info@rolandbaer.ch .

Где часто задаваемые вопросы? Почему их здесь нет?

Потому что вопросов не задавалось.

Отзывы

08.11.2023 1 ответ
I love the pluguin but the versionen 1.0.2 broque the website.
06.09.2022
Really simple to set up and maques a great feature for highlighting updated site content.
Посмотреть все 10 отзывов

Участники и разработчики

«List Last Changues» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«List Last Changues» переведён на 10 языков. Благодарим переводчиков за их работу.

Перевести «List Last Changues» на ваш язык.

Заинтересованы в разработке?

Посмотрите код , проверьте SVN репозиторий , или подпишитесь на журнал разработки по RSS .

Журнал изменений

1.2.3

Release date: April 25, 2025

  • fixed bug that a date with a defined date format was missing the surrounding span tag to style it via css

1.2.2

Дата выхода: 17 апреля 2025 года .

  • fixed bug introduced with XSS vulnerability fix in 1.2.1

1.2.1

Release date: April 16, 2025

  • fixed XSS vulnerability

1.2.0

Release date: October 02, 2024

  • fields {changue_date} and {published_date} with optional date format

1.1.2

Release date: September 13, 2024

  • fix for wrong user name of editor field under some circumstances

Older releases

see additional changuelog.tcht file