Skip to content

Commit

Permalink
Version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rilwis committed Mar 14, 2024
1 parent 15b5430 commit b773864
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Meta Box Text Limiter Plugin

Text Limiter is an extension for [Meta Box](https://metabox.io) plugin which allows you to limit number of characters or words entered for text and textarea fields.
Text Limiter is an extension for [Meta Box](https://metabox.io) plugin which allows you to limit number of characters or words entered for [text](https://docs.metabox.io/fields/text/), [textarea](https://docs.metabox.io/fields/textarea/) and [WYSIWYG](https://docs.metabox.io/fields/wysiwyg/) fields.

## Usage

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

```php
'limit' => 20, // Number of characters or words
Expand Down
16 changes: 10 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
=== Meta Box Text Limiter ===
Contributors: metabox, rilwis
Donate link: https://metabox.io
Tags: meta-box, custom-fields, custom-field, meta, meta-boxes, text limit, character limit, word limit
Requires at least: 5.0
Tested up to: 5.6
Stable tag: 1.1.3
Tags: custom fields, meta box, text limit
Requires at least: 5.9
Tested up to: 6.4.3
Stable tag: 1.2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Limit number of characters or words entered for text and textarea fields in meta boxes.

== Description ==

Text Limiter is an extension for [Meta Box](https://metabox.io) plugin which allows you to limit number of characters or words entered for text and textarea fields.
Text Limiter is an extension for [Meta Box](https://metabox.io) plugin which allows you to limit number of characters or words entered for [text](https://docs.metabox.io/fields/text/), [textarea](https://docs.metabox.io/fields/textarea/) and [WYSIWYG](https://docs.metabox.io/fields/wysiwyg/) fields.

### Usage

To start using text limiter, just add the following parameters to `text` or `textarea` fields:
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'`
Expand Down Expand Up @@ -54,6 +54,10 @@ To start using text limiter, just add the following parameters to `text` or `tex

== Changelog ==

= 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).

Expand Down
2 changes: 1 addition & 1 deletion text-limiter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Meta Box Text Limiter
* Plugin URI: https://metabox.io/plugins/meta-box-text-limiter/
* Description: Limit number of characters or words entered for text and textarea fields.
* Version: 1.1.3
* Version: 1.2.0
* Author: MetaBox.io
* Author URI: https://metabox.io
*
Expand Down

0 comments on commit b773864

Please sign in to comment.