Meta Box Text Limiter

Описание

Text Limiter is an extension for Meta Box plugin which allows you to limit number of characters or words entered for text, textarea and WYSIWYG fields.

Usage

To start using text limiter, just add the following parameters to text, textarea or wysiwyg fields:

'limit'      => 20, // Number of characters or words
'limit_type' => 'character', // Limit by 'character' or 'word'. Optional. Default is 'character'

Plugin Links

Установка

You need to install Meta Box plugin first

  • Go to Plugins | Add New and search for Meta Box
  • Click Install Now button to install the plugin
  • After installing, click Activate Plugin to activate the plugin

Install Meta Box Text Limiter extension

  • Go to Plugins | Add New and search for Meta Box Text Limiter
  • Click Install Now button to install the plugin
  • After installing, click Activate Plugin to activate the plugin

To start using text limiter, just add the following parameters to text or textarea fields:

'limit'      => 20, // Number of characters or words
'limit_type' => 'character', // Limit by 'character' or 'word'. Optional. Default is 'character'

Отзывы

Нет отзывов об этом плагине.

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

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

Участники

«Meta Box Text Limiter» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «Meta Box Text Limiter» на ваш язык.

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

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

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

1.2.0 — 2024-03-14

  • Add support for WYSIWYG field
  • Update the style

1.1.3 — 2021-04-24

  • Fix notice «Trying to access array offset» (by checking field value if field not found).

1.1.2 — 2021-01-27

  • Fix input references which breaks the functionality.

1.1.0

  • Changed: Rewrite the JavaScript, making it work for cloneable groups.

1.0.4

  • Changed: Allow the plugin to be included in themes/plugins.

1.0.3

  • Fix: Multi-bytes characters are cut from the frontend.

1.0.2

  • Fix: Warning in helper function if using limit by character.

1.0.1

  • Improvement: Added front-end text-limiting functionality

1.0.0

  • First release