Mô tả
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 might also like
If you like this plugin, you might also like our other WordPress products:
- Slim SEO – A fast, lightweight and full-featured SEO plugin for WordPress with minimal configuration.
- Slim SEO Schema – An advanced, powerful and flexible plugin to add schemas to WordPress.
- Slim SEO Link Manager – Build internal link easier in WordPress with real-time reports.
- GretaThemes – Free and premium WordPress themes that clean, simple and just work.
- Auto Listings – A car sale and dealership plugin for WordPress.
Cài đặt
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'
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“MB Text Limiter” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng góp“MB Text Limiter” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “MB Text Limiter” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
= 1.2.4 – 2024-11-19
Fix WYSIWYG output raw value without HTML tags
= 1.2.3 – 2024-11-01
Fix cannot update posts
1.2.2 – 2024-10-07
- Rename to MB Text Limiter
- Fix issues with Plugin Check (PCP)
1.2.1 – 2024-09-12
- Do not count HTML tags
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